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
|
||||
// , = propPrompt()
|
||||
if (e.keyCode == 49) { //!
|
||||
if(shiftDown) { funniPrompt() };
|
||||
if ([1,3].includes(shiftDown) && e.keyCode == 49) { //either shift + 1
|
||||
funniPrompt();
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue