瀏覽代碼

fix ie detection logic

Igor Vaynberg 12 年之前
父節點
當前提交
4aaa887b64
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1250,7 +1250,7 @@ the specific language governing permissions and limitations under the Apache Lic
             }
 
             // IE requires an iframe shim to cover controls like selects
-            if($.support.opacity) {
+            if($.support.opacity === false) {
                 // a hack to detect older IE browsers - they do not support opacity
                 undermask=$("#select2-drop-undermask");
                 if (undermask.length==0) {