Permalink
Browse files

Merge pull request #3 from mathiasbynens/patch-1

Make the feature detect actually work
  • Loading branch information...
paulirish committed Dec 22, 2011
2 parents 82cbf51 + 7f11718 commit cef73a6130f5cf73a8871c87ef2479f8f304d2d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/script.js
View
@@ -12,7 +12,7 @@ var h1 = document.querySelector('h1');
// tell unsupporting browsers to FUCK OFF
-if (!'textShadow' in document.body.style){
+if (!('textShadow' in document.body.style)) {
document.querySelector('fieldset').style.display = 'none';
document.querySelector('textarea').style.display = 'none';
h1.style.marginTop = 0;

0 comments on commit cef73a6

Please sign in to comment.