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:
46a6d87
)
From web client, remove unneeded focus-keeping code.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:56:23 +0000
(22:56 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:56:23 +0000
(22:56 +0100)
rogue_chat.html
patch
|
blob
|
history
diff --git
a/rogue_chat.html
b/rogue_chat.html
index dfb10fe13c2dbe19491faf121a59405857308657..23626cf7503a91a5aeaa527b39f48cae1adfa698 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-1752,10
+1752,7
@@
window.setInterval(function() {
}, 1000);
window.setInterval(function() {
if (document.activeElement.tagName.toLowerCase() != 'input') {
- const scroll_x = window.scrollX;
- const scroll_y = window.scrollY;
tui.inputEl.focus();
- window.scrollTo(scroll_x, scroll_y);
};
}, 100);
document.getElementById("help").onclick = function() {