Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from gregarcara/master

Fixed bug in _isNew to prevent unneeded iterations after finding match
  • Loading branch information...
commit 47c4a0ae4d6aec82fff69ee064a163b7c8b03a1e 2 parents f4db584 + f5fe54e
@aehlke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/tag-it.js
View
2  js/tag-it.js
@@ -279,7 +279,7 @@
this.tagList.children('.tagit-choice').each(function(i) {
if (that._formatStr(value) == that._formatStr(that.tagLabel(this))) {
isNew = false;
- return;
+ return false;
}
});
return isNew;
Please sign in to comment.
Something went wrong with that request. Please try again.