Permalink
Browse files

Return false after clicking to close a tag.

  • Loading branch information...
Sterling Cobb
Sterling Cobb committed May 14, 2012
1 parent 28f6f2b commit c86511b84cf6c8c9c179c6cca4a73c3fecf21081
Showing with 1 addition and 0 deletions.
  1. +1 −0 js/tag-it.js
View
@@ -330,6 +330,7 @@
.click(function(e) {
// Removes a tag when the little 'x' is clicked.
that.removeTag(tag);
+ return false;
});
tag.append(removeTag);

0 comments on commit c86511b

Please sign in to comment.