Skip to content

Commit

Permalink
Fixed a bit of unintentional scrolling in Chrome.
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Nov 14, 2013
1 parent 90dfee9 commit be3368d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
body {

background-color: #000000;
margin: 0px;
margin: 0;
padding: 0;
overflow: hidden;

}
Expand Down Expand Up @@ -180,11 +181,9 @@
return;
}

var effect = document.createElement( 'div' );
document.body.appendChild( effect );

canvas = document.createElement( 'canvas' );
effect.appendChild( canvas );
canvas.style.display = 'block';
document.body.appendChild( canvas );

//

Expand Down

0 comments on commit be3368d

Please sign in to comment.