Skip to content

Commit

Permalink
fix allowDuplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
aehlke committed Dec 4, 2012
1 parent 6342f40 commit dbdcbe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/tag-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
return false;
}

if (!this.allowDuplicates && !this._isNew(value)) {
if (!this.options.allowDuplicates && !this._isNew(value)) {
var existingTag = this._findTagByLabel(value);
if (this._trigger('onTagExists', null, {
existingTag: existingTag,
Expand Down
2 changes: 1 addition & 1 deletion js/tag-it.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dbdcbe3

Please sign in to comment.