From ed5bcb26703fae7c47e279081b1285e1199f9d01 Mon Sep 17 00:00:00 2001 From: munimunigamer Date: Fri, 26 Dec 2025 10:57:46 -0600 Subject: [PATCH] fixed index.js file --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index afd3d80..017de82 100644 --- a/index.js +++ b/index.js @@ -425,6 +425,8 @@ async function initUI() { $('#rpg-avatar-llm-instruction').on('input', function() { extensionSettings.avatarLLMCustomInstruction = $(this).val().trim(); saveSettings(); + }); + $('#rpg-toggle-dice-display').on('change', function() { extensionSettings.showDiceDisplay = $(this).prop('checked'); saveSettings(); @@ -521,7 +523,7 @@ async function initUI() { // Set default HTML prompt as actual text if no custom prompt exists $('#rpg-custom-html-prompt').val(extensionSettings.customHtmlPrompt || DEFAULT_HTML_PROMPT); - $('#rpg-toggle-plot-buttons').prop('checked', extensionSettings.enablePlotButtons); $('#rpg-toggle-plot-buttons').prop('checked', extensionSettings.enablePlotButtons); $('#rpg-toggle-plot-buttons').prop('checked', extensionSettings.enablePlotButtons); + $('#rpg-toggle-plot-buttons').prop('checked', extensionSettings.enablePlotButtons); $('#rpg-toggle-animations').prop('checked', extensionSettings.enableAnimations); // Initialize avatar options