Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #135 from jhoff/tagLimit_fix

Fixes logic flaw with tagLimit
  • Loading branch information...
commit f06814e9c7c0642d070b928bd1674637a94ed6be 2 parents 9afa0a8 + 7f173f7
@aehlke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/tag-it.js
View
2  js/tag-it.js
@@ -406,7 +406,7 @@
return false;
}
- if (this.options.tagLimit && this.options.tagLimit >= this._tags().length) {
+ if (this.options.tagLimit && this._tags().length >= this.options.tagLimit) {
this._trigger('onTagLimitExceeded', null, {duringInitialization: duringInitialization});
return false;
}

0 comments on commit f06814e

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