소스 검색

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