Permalink
Browse files

prevent default space action upon resetting

  • Loading branch information...
1 parent 313a640 commit c29b3f7c01e091cffe21ec1f6939dc3995611eab @jkk committed Nov 19, 2008
Showing with 4 additions and 0 deletions.
  1. +4 −0 index.html
View
@@ -165,6 +165,10 @@
$(document).keypress(function(evt) {
if (answered) {
deal();
+ if (evt.which == 32) {
+ evt.stopPropagation();
+ evt.preventDefault();
+ }
return;
}
var action;

0 comments on commit c29b3f7

Please sign in to comment.