Explorar o código

jquery 1.4 compat impl of focus check

Igor Vaynberg %!s(int64=13) %!d(string=hai) anos
pai
achega
bd8c40b0e8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {