Browse files

Make the feature detect actually work

  • Loading branch information...
1 parent 82cbf51 commit 7f11718f440ca928da24b0bac11242edf5458607 @mathiasbynens mathiasbynens committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/script.js
View
2 js/script.js
@@ -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 7f11718

Please sign in to comment.