From 1505a5d6b08a8de3fc78e9003fba67640bb4a97f Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Thu, 28 Apr 2011 14:59:44 -0500 Subject: [PATCH] By default, if a callback has been specified, call it! --- jquery.tagsinput.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jquery.tagsinput.js b/jquery.tagsinput.js index 5b7b25a..a23d220 100644 --- a/jquery.tagsinput.js +++ b/jquery.tagsinput.js @@ -21,6 +21,7 @@ jQuery.fn.addTag = function(value,options) { var options = jQuery.extend({focus:false},options); + var options = jQuery.extend({focus:false,callback:true},options); this.each(function() { id = $(this).attr('id');