Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

strict compare

  • Loading branch information...
commit 50fb527bb353e22a56acc54fba083f1afd2fba4a 1 parent 795df18
Scott Jehl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  matchMedia.js
View
2  matchMedia.js
@@ -19,7 +19,7 @@ window.matchMedia = window.matchMedia || (function(doc, undefined){
div.innerHTML = '&shy;<style media="'+q+'"> #mq-test-1 { width: 42px; }</style>';
docElem.insertBefore(fakeBody, refNode);
- bool = div.offsetWidth == 42;
+ bool = div.offsetWidth === 42;
docElem.removeChild(fakeBody);
return { matches: bool, media: q };
Please sign in to comment.
Something went wrong with that request. Please try again.