By default, if a callback has been specified, call it!

This commit is contained in:
Ben Brown
2011-04-28 14:59:44 -05:00
parent fbdaf2e84c
commit 1505a5d6b0
+1
View File
@@ -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');