From 4aaa887b647188e73e80cfe4504123e79610596f Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Wed, 12 Jun 2013 18:32:22 -0700 Subject: [PATCH] fix ie detection logic --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index b851b650..68645648 100644 --- a/select2.js +++ b/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) {