Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
Fix tags not removing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobius1 committed Jul 15, 2017
1 parent a4b8f6c commit 7212ae0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobius1-selectr",
"version": "2.3.7",
"version": "2.3.8",
"ignore": [
".gitattributes",
"README.md"
Expand Down
2 changes: 1 addition & 1 deletion dist/selectr.min.css

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

4 changes: 2 additions & 2 deletions dist/selectr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobius1-selectr",
"version": "2.3.7",
"version": "2.3.8",
"description": "A lightweight, dependency-free, mobile-friendly javascript select box replacement.",
"main": "dist/selectr.min.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/selectr.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Selectr 2.3.7
* Selectr 2.3.8
* http://mobius.ovh/docs/selectr
*
* Released under the MIT license
Expand Down
6 changes: 3 additions & 3 deletions src/selectr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Selectr 2.3.7
* Selectr 2.3.8
* http://mobius.ovh/docs/selectr
*
* Released under the MIT license
Expand Down Expand Up @@ -1097,7 +1097,7 @@
// Remove tag
this.label.addEventListener("click", function(e) {
if (util.hasClass(e.target, "selectr-tag-remove")) {
this.deselect(e.target.parentNode.idx);
that.deselect(e.target.parentNode.idx);
}
}, this);

Expand Down Expand Up @@ -2107,4 +2107,4 @@
};

return Selectr;
}));
}));

0 comments on commit 7212ae0

Please sign in to comment.