diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-10 13:58:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-10 13:58:56 -0700 |
commit | 9ef5ffd645349f0407a7a0aa45db1b961e8fd95f (patch) | |
tree | 20a4c0686cd91e29aedfe1bac0760ce226be9713 | |
parent | 574045bde8eeaa5068cb6476c4e18483af71390f (diff) |
remove no longer necessary preventDefault
-rw-r--r-- | src/library_sdl.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index 528560c3..91c3c4bd 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -471,7 +471,6 @@ var LibrarySDL = { // ignore extra ups, can happen if we leave the canvas while pressing down, then return, // since we add a mouseup in that case if (!SDL.DOMButtons[event.button]) { - event.preventDefault(); return; } |