Removed unnecessary animation during unseint multiselect by close button
This commit is contained in:
parent
2059b5d4d3
commit
86a9c79b04
@ -2948,13 +2948,11 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
.on("click dblclick", this.bind(function (e) {
|
.on("click dblclick", this.bind(function (e) {
|
||||||
if (!this.isInterfaceEnabled()) return;
|
if (!this.isInterfaceEnabled()) return;
|
||||||
|
|
||||||
$(e.target).closest(".select2-search-choice").fadeOut('fast', this.bind(function(){
|
|
||||||
this.unselect($(e.target));
|
this.unselect($(e.target));
|
||||||
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
|
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
|
||||||
|
killEvent(e);
|
||||||
this.close();
|
this.close();
|
||||||
this.focusSearch();
|
this.focusSearch();
|
||||||
})).dequeue();
|
|
||||||
killEvent(e);
|
|
||||||
})).on("focus", this.bind(function () {
|
})).on("focus", this.bind(function () {
|
||||||
if (!this.isInterfaceEnabled()) return;
|
if (!this.isInterfaceEnabled()) return;
|
||||||
this.container.addClass("select2-container-active");
|
this.container.addClass("select2-container-active");
|
||||||
|
Loading…
Reference in New Issue
Block a user