ソースを参照

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) {