mirror of
https://github.com/danbulant/Mangades
synced 2026-06-17 13:21:03 +00:00
prevent default
This commit is contained in:
parent
89cf04cada
commit
e13ac35fea
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
* @param {KeyboardEvent} e
|
||||
*/
|
||||
function keydown(e) {
|
||||
if(!image.complete) return false;
|
||||
if(!image.complete) return e.preventDefault() || false;
|
||||
if(!wasArrowDownUp || !wasArrowUpUp) return;
|
||||
switch(e.key) {
|
||||
case "PageUp":
|
||||
|
|
|
|||
Loading…
Reference in a new issue