Parcourir la source

jquery 1.4 compat impl of focus check

Igor Vaynberg il y a 13 ans
Parent
commit
bd8c40b0e8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1215,7 +1215,7 @@
         },
 
         isFocused: function () {
-            return this.search.is(":focus");
+            return this.search.hasClass("select2-focused");
         },
 
         updateSelection: function (data) {