From e2241b34ed017579593588ef04105c2ddcfb3cfe Mon Sep 17 00:00:00 2001 From: ebolam Date: Fri, 30 Sep 2022 14:11:44 -0400 Subject: [PATCH] Debug --- static/koboldai.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/koboldai.js b/static/koboldai.js index bece7c1b..985fb55c 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -333,6 +333,7 @@ function do_story_text_updates(data) { story_area.append(span); if (data.value.id.toString() == document.getElementById('action_count').textContent) { + console.log("Scrolling. Action Count: "+document.getElementById('action_count').textContent); document.getElementById("Selected Text").scrollTop = document.getElementById("Selected Text").scrollHeight; } //clearTimeout(game_text_scroll_timeout);