From 6858742e164cab8c229215f5cfbe729ea5cd478c Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Tue, 28 May 2013 12:32:36 -0700 Subject: [PATCH] improve focus handling on mobiles. fixes #1344 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 49479344..6a9de62b 100644 --- a/select2.js +++ b/select2.js @@ -2445,7 +2445,7 @@ the specific language governing permissions and limitations under the Apache Lic this.opts.element.trigger($.Event("select2-blur")); })); - this.container.on("mousedown", selector, this.bind(function (e) { + this.container.on("click", selector, this.bind(function (e) { if (!this.isInterfaceEnabled()) return; if ($(e.target).closest(".select2-search-choice").length > 0) { // clicked inside a select2 search choice, do not open