Skip to content

Commit

Permalink
Update keyevent tetris
Browse files Browse the repository at this point in the history
  • Loading branch information
crziter committed Sep 13, 2013
1 parent f28e786 commit f2d446b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/projects/html/tetris.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
game.createCurrent();
game.draw();

jQuery(document).bind('keyup', function(e) {
jQuery(document).bind('keydown', function(e) {
var code = e.keyCode || e.which;

if (code == 90) { // z
Expand Down

0 comments on commit f2d446b

Please sign in to comment.