Skip to content

Commit

Permalink
Fix multiple classes on remove link
Browse files Browse the repository at this point in the history
PR as per vicb#38
  • Loading branch information
jools-r committed Jul 17, 2024
1 parent 16343a3 commit 5596f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.bsmselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}

// set up remove event (may be a link, or the list item itself)
this.$list.delegate('.' + o.removeClass, 'click', function() {
this.$list.delegate('.' + o.removeClass.split(" ").join("."), 'click', function() {
self.dropListItem($(this).closest('li'));
return false;
});
Expand Down

0 comments on commit 5596f4e

Please sign in to comment.