From 46a870ef87d0761cc47b6e6560943b96f856b142 Mon Sep 17 00:00:00 2001 From: ebolam Date: Fri, 28 Oct 2022 14:15:11 -0400 Subject: [PATCH] Fix for options area showing on new game with genamt=1 --- static/koboldai.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/koboldai.js b/static/koboldai.js index 296fb460..e3eefeb1 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -208,6 +208,7 @@ function reset_story() { } document.getElementById("welcome_text").innerText = text; document.getElementById("welcome_text").classList.remove("hidden"); + document.getElementById('main-grid').setAttribute('option_length', 0); } function fix_text(val) {