You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
376 B
13 lines
376 B
7 years ago
|
|
||
|
// IE8 compat mode aka Fake IE7
|
||
|
// by Erich Ocean
|
||
|
|
||
|
// In this case, IE8 will be acting as IE7. You may choose to remove features in this case.
|
||
|
|
||
|
// related:
|
||
|
// james.padolsey.com/javascript/detect-ie-in-js-using-conditional-comments/
|
||
|
|
||
|
Modernizr.addTest('ie8compat',function(){
|
||
|
return (!window.addEventListener && document.documentMode && document.documentMode === 7);
|
||
|
});
|