Skip to content

Commit 4aaa887

Browse files
committed
fix ie detection logic
1 parent 7c72955 commit 4aaa887

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ the specific language governing permissions and limitations under the Apache Lic
12501250
}
12511251

12521252
// IE requires an iframe shim to cover controls like selects
1253-
if($.support.opacity) {
1253+
if($.support.opacity === false) {
12541254
// a hack to detect older IE browsers - they do not support opacity
12551255
undermask=$("#select2-drop-undermask");
12561256
if (undermask.length==0) {

0 commit comments

Comments
 (0)