From 8c4fae341046cd686af974b9a738a6c4c670f32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Wed, 15 Feb 2023 01:35:23 +0100 Subject: [PATCH] fix keybind button --- assets/userscript.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/userscript.js b/assets/userscript.js index 254ae6d..4b58d2c 100644 --- a/assets/userscript.js +++ b/assets/userscript.js @@ -84,7 +84,7 @@ function createButton(text, onClick) { const button = document.createElement("button"); button.style.marginBottom = "20px"; button.classList = - "button-f2h6uQ lookFilled-yCfaCM colorBrand-I6CyqQ sizeSmall-wU2dO- grow-2sR_-F"; + "button-ejjZWC lookFilled-1H2Jvj colorBrand-2M3O3N sizeSmall-3R2P2p grow-2T4nbg"; button.innerText = text; button.addEventListener("click", onClick); return button; @@ -248,7 +248,7 @@ function main() { div.style.marginBottom = "50px"; div.appendChild( createButton("Edit Global Keybinds", () => { - userscript.log("!discord-screenaudio-keybinds"); + userscript.showShortcutsDialog(); }) ); el.innerHTML = ""; @@ -305,7 +305,7 @@ function main() { section.appendChild( createButton("Edit Global Keybinds", () => { - userscript.log("!discord-screenaudio-keybinds"); + userscript.showShortcutsDialog(); }) );