From 5b3928b03100f568e6124c84c138f8b912efd091 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Thu, 7 Dec 2023 14:27:12 +0100 Subject: fix ooc autoscroll --- webAO/client/appendICLog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/client/appendICLog.ts') 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 -- cgit