diff --git a/ts/deckconfig/DeckConfigPage.svelte b/ts/deckconfig/DeckConfigPage.svelte index 2997930d1..754807293 100644 --- a/ts/deckconfig/DeckConfigPage.svelte +++ b/ts/deckconfig/DeckConfigPage.svelte @@ -16,9 +16,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html evt.getModifierState(primaryModifierForPlatform()) ) { state.save(false); - } else { - console.log(evt.getModifierState(primaryModifierForPlatform())); - console.log(primaryModifierForPlatform()); } } diff --git a/ts/deckconfig/TextInputModal.svelte b/ts/deckconfig/TextInputModal.svelte index 917e4dbed..7f199a655 100644 --- a/ts/deckconfig/TextInputModal.svelte +++ b/ts/deckconfig/TextInputModal.svelte @@ -31,13 +31,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html modal.hide(); } - function onKeyUp(evt: KeyboardEvent): void { - if (evt.code === "Enter") { - evt.stopPropagation(); - onOkClicked(); - } - } - onMount(() => { const container = document.getElementById("modal")!; container.addEventListener("shown.bs.modal", onShown); @@ -54,7 +47,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html