Преглед изворни кода

jquery 1.4 compat impl of focus check

Igor Vaynberg пре 13 година
родитељ
комит
bd8c40b0e8
1 измењених фајлова са 1 додато и 1 уклоњено
  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) {