From 42d3ef4405ef5872a57fd8902847b795ffe4d5bd Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Wed, 3 Jul 2013 15:18:01 -0700 Subject: [PATCH] use click instead of mousedown so we dont break drag and drop support --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 7f8253ce..60d4a4c6 100644 --- a/select2.js +++ b/select2.js @@ -2399,7 +2399,7 @@ the specific language governing permissions and limitations under the Apache Lic this.selection = selection = this.container.find(selector); var _this = this; - this.selection.on("mousedown", ".select2-search-choice", function (e) { + this.selection.on("click", ".select2-search-choice", function (e) { //killEvent(e); _this.search[0].focus(); _this.selectChoice($(this));