123456789101112 |
- // 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);
- });
|