Fixes logic flaw with tagLimit #135

Merged
merged 2 commits into from Jan 3, 2013
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -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;
}