Merge 1f84d7028a
into fda87985c7
This commit is contained in:
commit
1b2515f59b
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue