Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Return false after clicking to close a tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sterling Cobb committed May 14, 2012
1 parent 28f6f2b commit c86511b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/tag-it.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@
.click(function(e) { .click(function(e) {
// Removes a tag when the little 'x' is clicked. // Removes a tag when the little 'x' is clicked.
that.removeTag(tag); that.removeTag(tag);
return false;
}); });
tag.append(removeTag); tag.append(removeTag);


Expand Down

0 comments on commit c86511b

Please sign in to comment.