zoom image with spacebar

This commit is contained in:
Flummi 2021-12-29 16:27:02 +01:00
parent 638edc7319
commit d558106a69

View File

@ -24,7 +24,8 @@
"a": clickOnElementBinding("#next"),
"ArrowRight": clickOnElementBinding("#prev"),
"d": clickOnElementBinding("#prev"),
"r": clickOnElementBinding("#random")
"r": clickOnElementBinding("#random"),
" ": clickOnElementBinding("#f0ck-image")
};
document.addEventListener("keydown", e => {
if(e.key in keybindings && e.target.tagName !== "INPUT") {