From 3e55c4ffcfe54abf32a2397fb2646b35029ed8b4 Mon Sep 17 00:00:00 2001 From: drgnfr6 Date: Sun, 28 May 2023 23:37:19 -0500 Subject: [PATCH] Fix NovelAI refresh on first load. --- public/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/script.js b/public/script.js index a862a18ec..1595545ad 100644 --- a/public/script.js +++ b/public/script.js @@ -5683,6 +5683,8 @@ $(document).ready(function () { $("#api_button_novel").css("display", "none"); is_get_status_novel = true; is_api_button_press_novel = true; + // Check near immediately rather than waiting for up to 90s + setTimeout(getStatusNovel, 10); }); $("#anchor_order").change(function () {