Skip to content
This repository
Browse code

Allow animate option to be false.

removeAll method passes 'false' for animate option. However, 
that option is never picked up, and the default one from this.options is 
always used. 
  • Loading branch information...
commit 11d5d684fdbb74ad29138cfcc812b371412c67f4 1 parent d64a794
iBiryukov authored October 31, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  js/tag-it.js
2  js/tag-it.js
@@ -353,7 +353,7 @@
353 353
         },
354 354
         
355 355
         removeTag: function(tag, animate) {
356  
-            animate = animate || this.options.animate;
  356
+            animate = typeof animate === "undefined" ? this.options.animate : animate;
357 357
 
358 358
             tag = $(tag);
359 359
 

0 notes on commit 11d5d68

Please sign in to comment.
Something went wrong with that request. Please try again.