Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Eivind Uggedal committed Dec 20, 2010
1 parent 91bacc9 commit 4ebcc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matchMedia.js
Expand Up @@ -29,7 +29,7 @@ if ( !(window.matchMedia) ){
var cssrule = '@media '+q+' { #ejs-qtest { position: absolute; } }'; var cssrule = '@media '+q+' { #ejs-qtest { position: absolute; } }';
if (styleBlock.styleSheet){ if (styleBlock.styleSheet){
styleBlock.styleSheet.cssText = cssrule; styleBlock.styleSheet.cssText = cssrule;
// IE8 does not seem to support the styleSheet property nor appendChild: // IE8 does not seem to support the styleSheet property nor appendChild with style elements:
} else if (styleBlock.canHaveHTML === false){ } else if (styleBlock.canHaveHTML === false){
styleBlock.text = cssrule; styleBlock.text = cssrule;
} else { } else {
Expand Down

0 comments on commit 4ebcc99

Please sign in to comment.