mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-07-11 03:45:05 +02:00
Fix a bug where a null value for custom modifiers would break
This commit is contained in:
@ -263,7 +263,7 @@ function saveCustomModifiers() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function loadCustomModifiers() {
|
function loadCustomModifiers() {
|
||||||
let customModifiers = localStorage.getItem(CUSTOM_MODIFIERS_KEY)
|
let customModifiers = localStorage.getItem(CUSTOM_MODIFIERS_KEY, '')
|
||||||
customModifiersTextBox.value = customModifiers
|
customModifiersTextBox.value = customModifiers
|
||||||
|
|
||||||
if (customModifiersGroupElement !== undefined) {
|
if (customModifiersGroupElement !== undefined) {
|
||||||
|
Reference in New Issue
Block a user