We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d8f03c commit def8adcCopy full SHA for def8adc
1 file changed
select2.js
@@ -1233,8 +1233,9 @@ the specific language governing permissions and limitations under the Apache Lic
1233
});
1234
}
1235
1236
- // ie requires an iframe shim to cover controls like selects
1237
- if($.browser.msie) {
+ // IE requires an iframe shim to cover controls like selects
+ if($.support.opacity) {
1238
+ // a hack to detect older IE browsers - they do not support opacity
1239
undermask=$("#select2-drop-undermask");
1240
if (undermask.length==0) {
1241
undermask = $(document.createElement("iframe"));
0 commit comments