Permalink
Browse files

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...
1 parent d64a794 commit 11d5d684fdbb74ad29138cfcc812b371412c67f4 @iBiryukov iBiryukov committed Oct 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/tag-it.js
View
@@ -353,7 +353,7 @@
},
removeTag: function(tag, animate) {
- animate = animate || this.options.animate;
+ animate = typeof animate === "undefined" ? this.options.animate : animate;
tag = $(tag);

0 comments on commit 11d5d68

Please sign in to comment.