mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-05-02 03:03:05 -04:00
Merge branch 'master' into supports
This commit is contained in:
@@ -7,5 +7,5 @@ define(['Modernizr'], function( Modernizr ) {
|
||||
// related:
|
||||
// james.padolsey.com/javascript/detect-ie-in-js-using-conditional-comments/
|
||||
|
||||
Modernizr.addTest('ie8compat', (!window.addEventListener && document.documentMode && document.documentMode === 7));
|
||||
Modernizr.addTest('ie8compat', (!window.addEventListener && !!document.documentMode && document.documentMode === 7));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user