home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
358f282
)
In web client, also hide help screen on any click.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 25 Nov 2020 03:17:51 +0000
(
04:17
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 25 Nov 2020 03:17:51 +0000
(
04:17
+0100)
rogue_chat.html
patch
|
blob
|
history
diff --git
a/rogue_chat.html
b/rogue_chat.html
index 71a506541174292a3caed2cd9192a22efdc7a81b..51ac81d5e4cd43016a26a7f741cc4d2c7cb9b41a 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-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>
<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_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>
</td>
</tr>
<tr>
@@
-1208,6
+1208,9
@@
tui.inputEl.addEventListener('input', (event) => {
}
tui.full_refresh();
}, false);
}
tui.full_refresh();
}, false);
+document.onclick = function() {
+ tui.show_help = false;
+};
tui.inputEl.addEventListener('keydown', (event) => {
tui.show_help = false;
if (event.key == 'Enter') {
tui.inputEl.addEventListener('keydown', (event) => {
tui.show_help = false;
if (event.key == 'Enter') {