keybind test
This commit is contained in:
parent
d23fcebae1
commit
ca5fbe298c
|
|
@ -1197,8 +1197,8 @@ Make sure to save your command in a file if you want to add this preset again.`
|
||||||
|
|
||||||
document.addEventListener("keydown", function(e) { //prop prompt listener
|
document.addEventListener("keydown", function(e) { //prop prompt listener
|
||||||
// , = propPrompt()
|
// , = propPrompt()
|
||||||
if (e.keyCode == 49) { //!
|
if ([1,3].includes(shiftDown) && e.keyCode == 49) { //either shift + 1
|
||||||
if(shiftDown) { funniPrompt() };
|
funniPrompt();
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue