Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing delay when a tag has been dropped before processing (tween) -

  • Loading branch information...
commit 13649cb4cf125752cb10a83ad9482af293a06189 1 parent 78c73b1
@DimitarChristoff authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 Source/js/mooTagify.js
View
8 Source/js/mooTagify.js
@@ -443,7 +443,7 @@ var mooTagify = this.mooTagify = new Class({
target.empty()
var done = 0, added = [];
Array.each(tagsArray, function(el) {
- !this.options.caseSensitiveTagMatching && (el = el.toLowerCase())
+ this.options.caseSensitiveTagMatching || (el = el.toLowerCase())
if (done >= this.options.maxItemCount) {
this.fireEvent('limitReached', el)
@@ -470,11 +470,7 @@ var mooTagify = this.mooTagify = new Class({
this.options.caseSensitiveTagMatching || (tagText = tagText.toLowerCase())
- tag.set('tween', {
- onComplete: function() {
- this.element.destroy()
- }
- }).fade(0)
+ tag.destroy()
self.fireEvent('tagRemove', tagText)
this.listTags.focus()
},
Please sign in to comment.
Something went wrong with that request. Please try again.