Permalink
Browse files

fix onTagClicked

  • Loading branch information...
1 parent 470b3f9 commit 8d67c2e802bd4e8660a247a29085edaaa913dc19 @aehlke committed Nov 29, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 js/tag-it.js
  2. +1 −1 js/tag-it.min.js
View
@@ -178,7 +178,7 @@
if (target.hasClass('tagit-label')) {
var tag = target.closest('.tagit-choice');
if (!tag.hasClass('removed')) {
- that._trigger('onTagClicked', e, {tag: tag, tagLabel: this.tagLabel(tag)});
+ that._trigger('onTagClicked', e, {tag: tag, tagLabel: that.tagLabel(tag)});
}
} else {
// Sets the focus() to the input field, if the user
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 8d67c2e

Please sign in to comment.