Skip to content

Commit

Permalink
Make the feature detect actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Dec 22, 2011
1 parent 82cbf51 commit 7f11718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/script.js
Expand Up @@ -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;
Expand Down

0 comments on commit 7f11718

Please sign in to comment.