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:
f519c96
)
Fix previous fix (forgot to ignore a websocket in CONNECTING state).
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 10 Dec 2020 20:31:12 +0000
(21:31 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 10 Dec 2020 20:31:12 +0000
(21:31 +0100)
rogue_chat.html
patch
|
blob
|
history
diff --git
a/rogue_chat.html
b/rogue_chat.html
index 1b62a81ad77c63aa1fc8b3f37697aab52c8f3759..86c4644af7c17e74399d5b14332337af7ba5fa7b 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-1660,7
+1660,7
@@
for (let key_selector of key_selectors) {
window.setInterval(function() {
if (server.websocket.readyState == 1) {
server.send(['PING']);
- } else {
+ } else
if (server.websocket.readyState != 0)
{
server.reconnect_to(server.url);
tui.log_msg('@ attempting reconnect …')
}