From: Christian Heller Date: Tue, 1 Dec 2020 00:01:00 +0000 (+0100) Subject: Fix move keybinding input field disappearance. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/copy_free?a=commitdiff_plain;h=1579c6bd3d90d059e988f2d3d4a65d5ab4c319f1;p=plomrogue2 Fix move keybinding input field disappearance. --- 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_"]')) {