zoom image with spacebar
This commit is contained in:
parent
638edc7319
commit
d558106a69
@ -24,7 +24,8 @@
|
|||||||
"a": clickOnElementBinding("#next"),
|
"a": clickOnElementBinding("#next"),
|
||||||
"ArrowRight": clickOnElementBinding("#prev"),
|
"ArrowRight": clickOnElementBinding("#prev"),
|
||||||
"d": clickOnElementBinding("#prev"),
|
"d": clickOnElementBinding("#prev"),
|
||||||
"r": clickOnElementBinding("#random")
|
"r": clickOnElementBinding("#random"),
|
||||||
|
" ": clickOnElementBinding("#f0ck-image")
|
||||||
};
|
};
|
||||||
document.addEventListener("keydown", e => {
|
document.addEventListener("keydown", e => {
|
||||||
if(e.key in keybindings && e.target.tagName !== "INPUT") {
|
if(e.key in keybindings && e.target.tagName !== "INPUT") {
|
||||||
|
Loading…
Reference in New Issue
Block a user