From b458d57355a471b0576529d7b03373d266db0be8 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Thu, 31 Aug 2023 22:24:27 +0530 Subject: [PATCH] Keep the old test_diffusers id around to prevent broken plugins --- ui/index.html | 1 + ui/media/js/parameters.js | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/index.html b/ui/index.html index 3cd150e7..60f37c71 100644 --- a/ui/index.html +++ b/ui/index.html @@ -815,6 +815,7 @@

This license of this software forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm,
spread misinformation and target vulnerable groups. For the full list of restrictions please read the license.

By using this software, you consent to the terms and conditions of the license.

+ diff --git a/ui/media/js/parameters.js b/ui/media/js/parameters.js index d71022ac..a656f09a 100644 --- a/ui/media/js/parameters.js +++ b/ui/media/js/parameters.js @@ -469,6 +469,7 @@ async function getAppConfig() { testDiffusersEnabled = false } testDiffusers.checked = testDiffusersEnabled + document.querySelector("#test_diffusers").checked = testDiffusers.checked // don't break plugins if (config.config_on_startup) { if (config.config_on_startup?.use_v3_engine) {