From ca5fbe298c134fc4a48d83e642f9e16f21dbf024 Mon Sep 17 00:00:00 2001 From: An Orbit <68935009+orbit-loona@users.noreply.github.com> Date: Mon, 5 Jun 2023 08:58:01 -0400 Subject: [PATCH] keybind test --- mods/prompt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/prompt.js b/mods/prompt.js index b95e14e2..dcfba5af 100644 --- a/mods/prompt.js +++ b/mods/prompt.js @@ -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(); }; });