Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix variable scope. This caused a bug when multiple fields were prese…

…nt, and the first time the "x" was clicked to remove a tag.
  • Loading branch information...
commit f816b26e5179a333dbb3ae282c04536a566f55d6 1 parent 47c4a0a
@GUI GUI authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/tag-it.js
View
2  js/tag-it.js
@@ -293,7 +293,7 @@
},
createTag: function(value, additionalClass) {
- that = this;
+ var that = this;
// Automatically trims the value of leading and trailing whitespace.
value = $.trim(value);
Please sign in to comment.
Something went wrong with that request. Please try again.