This commit is contained in:
Ashwin Ramaswami 2016-06-13 19:34:03 +00:00 committed by GitHub
commit 1b2515f59b

View file

@ -30,6 +30,9 @@ function Scratch(project_id) {
$(window).keydown(function(e) {
runtime.keysDown[e.which] = true;
runtime.startKeyHats(e.which);
if (e.target==document.body) {
e.preventDefault();
}
});
$(window).keyup(function(e) {