home · contact · privacy
In web client, also hide help screen on any click.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 25 Nov 2020 03:17:51 +0000 (04:17 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 25 Nov 2020 03:17:51 +0000 (04:17 +0100)
rogue_chat.html

index 71a506541174292a3caed2cd9192a22efdc7a81b..51ac81d5e4cd43016a26a7f741cc4d2c7cb9b41a 100644 (file)
@@ -59,9 +59,9 @@ terminal columns: <input id="n_cols" type="number" step=4 min=80 value=80 />
     <td>
       <button id="switch_to_write">change tile</button>
       <button id="flatten">flatten surroundings</button>
-      <button id="switch_to_password">change tile editing password</button>
       <button id="switch_to_annotate">annotate tile</button>
       <button id="switch_to_portal">edit portal link</button>
+      <button id="switch_to_password">change tile editing password</button>
     </td>
   </tr>
   <tr>
@@ -1208,6 +1208,9 @@ tui.inputEl.addEventListener('input', (event) => {
     }
     tui.full_refresh();
 }, false);
+document.onclick = function() {
+    tui.show_help = false;
+};
 tui.inputEl.addEventListener('keydown', (event) => {
     tui.show_help = false;
     if (event.key == 'Enter') {