mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-28 05:19:35 +02:00
Fix a bug where a null value for custom modifiers would break
This commit is contained in:
parent
4174c8c25c
commit
93bf93d3a1
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user