X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=rogue_chat.html;h=23626cf7503a91a5aeaa527b39f48cae1adfa698;hb=2760d30c1b9cb8d68c0bdaf1449d3b17eed87ac0;hp=dfb10fe13c2dbe19491faf121a59405857308657;hpb=46a6d877240f356cb9e31b87b5674638822e0193;p=plomrogue2 diff --git a/rogue_chat.html b/rogue_chat.html index dfb10fe..23626cf 100644 --- 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() {