aboutsummaryrefslogtreecommitdiff
path: root/webAO/client
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-12-07 14:27:12 +0100
committerstonedDiscord <Tukz@gmx.de>2023-12-07 14:27:12 +0100
commit5b3928b03100f568e6124c84c138f8b912efd091 (patch)
tree1f0f1b2df69fc3e9ac704f5c99a5c0f53a48a4b3 /webAO/client
parent209f466d4d07487a9ad9db3be9f7c9518af138a0 (diff)
fix ooc autoscroll
Diffstat (limited to 'webAO/client')
-rw-r--r--webAO/client/appendICLog.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client/appendICLog.ts b/webAO/client/appendICLog.ts
index 307009c..2d3564c 100644
--- a/webAO/client/appendICLog.ts
+++ b/webAO/client/appendICLog.ts
@@ -49,7 +49,7 @@ export function appendICLog(
clientLog.appendChild(entry);
if (clientLog.scrollTop+clientLog.offsetHeight+120>clientLog.scrollHeight)
- clientLog.scrollTo(0, clientLog.scrollHeight);
+ clientLog.scrollTo(0, clientLog.scrollHeight);
setLastICMessageTime(new Date());
} \ No newline at end of file