Explorar o código

fix focus in mobile. fixes #1018

Igor Vaynberg %!s(int64=12) %!d(string=hai) anos
pai
achega
7fc16ed094
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      select2.js

+ 1 - 1
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;
         },