From cf9d3bd5b51e188e37c8ee8d831f02f149d82fee Mon Sep 17 00:00:00 2001 From: biglyderv Date: Thu, 17 Apr 2025 22:44:08 -0400 Subject: [PATCH] i cannot math --- static/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.js b/static/index.js index b92becb..9b85917 100644 --- a/static/index.js +++ b/static/index.js @@ -37,9 +37,9 @@ async function addMsg(msg) { item.insertBefore(img,item.childNodes[0]) } wrap.appendChild(item); - window.scrollTo(0, document.body.scrollHeight); } messages.appendChild(wrap); + window.scrollTo(0, document.body.scrollHeight); } async function main(e) {