From 1579c6bd3d90d059e988f2d3d4a65d5ab4c319f1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 1 Dec 2020 01:01:00 +0100 Subject: [PATCH] Fix move keybinding input field disappearance. --- rogue_chat.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rogue_chat.html b/rogue_chat.html index 3825581..ec619de 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -643,6 +643,9 @@ let tui = { } }; for (const move_button of document.querySelectorAll('[id*="_move_"]')) { + if (move_button.id.startsWith('key_')) { + continue; + } move_button.hidden = true; }; for (const move_button of document.querySelectorAll('[id^="' + geometry_prefix + 'move_"]')) { -- 2.30.2