fixed opening and closing of dropdown when an element is removed from selection. fixes #287
This commit is contained in:
parent
84eb5b33fc
commit
bef4af91f8
@ -1881,6 +1881,7 @@
|
||||
formatted=this.opts.formatSelection(data, choice);
|
||||
choice.find("div").replaceWith("<div>"+escapeMarkup(formatted)+"</div>");
|
||||
choice.find(".select2-search-choice-close")
|
||||
.bind("mousedown", killEvent)
|
||||
.bind("click dblclick", this.bind(function (e) {
|
||||
if (!this.enabled) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user