X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance2?a=blobdiff_plain;ds=sidebyside;f=rogue_chat.html;h=23626cf7503a91a5aeaa527b39f48cae1adfa698;hb=03caeafc19a0c9a0c48fb667139c0b1726644f40;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() {