1
0
mirror of synced 2024-11-22 21:16:10 +03:00

do not take over mouseup event in dropdown. fixes #857

This commit is contained in:
Igor Vaynberg 2013-02-14 00:49:45 -08:00
parent c081d0f00c
commit 179ba17174

View File

@ -657,10 +657,7 @@ the specific language governing permissions and limitations under the Apache Lic
if ($(e.target).closest(".select2-result-selectable").length > 0) {
this.highlightUnderEvent(e);
this.selectHighlighted(e);
} else {
this.focusSearch();
}
killEvent(e);
}));
// trap all mouse events from leaving the dropdown. sometimes there may be a modal that is listening