From 8848818d67a4ba42b8bf5576b0d71d92b18e6b9f Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 24 Feb 2024 15:32:12 +0200 Subject: [PATCH] Fix dynatemp neutralization --- public/scripts/textgen-settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/textgen-settings.js b/public/scripts/textgen-settings.js index bb6b8888c..70a797710 100644 --- a/public/scripts/textgen-settings.js +++ b/public/scripts/textgen-settings.js @@ -636,7 +636,7 @@ jQuery(function () { for (const [id, value] of Object.entries(inputs)) { const inputElement = $(`#${id}`); if (inputElement.prop('type') === 'checkbox') { - inputElement.prop('checked', value); + inputElement.prop('checked', value).trigger('input'); } else if (inputElement.prop('type') === 'number') { inputElement.val(value).trigger('input'); } else {