From 179ba171742e0dc717402a20e51962cb6e35fb7f Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Thu, 14 Feb 2013 00:49:45 -0800 Subject: [PATCH] do not take over mouseup event in dropdown. fixes #857 --- select2.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/select2.js b/select2.js index 2f18fd05..af16fcab 100644 --- a/select2.js +++ b/select2.js @@ -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