Skip to content

Commit

Permalink
Merge branch 'master' into supports
Browse files Browse the repository at this point in the history
  • Loading branch information
stucox committed Apr 18, 2013
2 parents 439fca4 + 429cb96 commit 8cd9a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature-detects/ie8compat.js
Expand Up @@ -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));
});

0 comments on commit 8cd9a02

Please sign in to comment.