Skip to content

Commit

Permalink
Prevent old browsers from reaching code they don't understand.
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Dec 29, 2011
1 parent 2ae099e commit 3b1ef79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@

if (!document.addEventListener) {
document.location = 'http://get.webgl.org/';
return;
}

var effect = document.createElement( 'div' );
Expand Down

0 comments on commit 3b1ef79

Please sign in to comment.