keybind test

This commit is contained in:
An Orbit 2023-06-05 08:58:01 -04:00 committed by GitHub
parent d23fcebae1
commit ca5fbe298c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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();
};
});