From 7fc16ed0941fea90d3a08bafb60b79092f976f8b Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Thu, 9 May 2013 09:48:31 -0700 Subject: [PATCH] fix focus in mobile. fixes #1018 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 850b244d..336dfa0b 100644 --- a/select2.js +++ b/select2.js @@ -1183,7 +1183,7 @@ the specific language governing permissions and limitations under the Apache Lic if (!this.shouldOpen()) return false; - window.setTimeout(this.bind(this.opening), 1); + this.opening(); return true; },