Updated script to 1.2.8

master
me 2023-05-05 20:14:41 +02:00
parent 5e9bd3790e
commit 8aff1054ed
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name SDAtom-WebUi-us
// @namespace SDAtom-WebUi-us
// @version 1.2.7
// @version 1.2.8
// @description Queue for AUTOMATIC1111 WebUi and an option to saving settings
// @author Kryptortio
// @homepage https://github.com/Kryptortio/SDAtom-WebUi-us
@ -929,7 +929,7 @@
}
function loadScriptSettings(p_scriptSettings) {
if(!localStorage.hasOwnProperty("awqScriptSettings")) return;
if(!localStorage.hasOwnProperty("awqScriptSettings") || !isJsonString(localStorage.awqScriptSettings)) return;
awqLog('Loding saved script settings');
let savedSettings = p_scriptSettings || JSON.parse(localStorage.awqScriptSettings);