forked from extern/easydiffusion
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() {
|
||||
let customModifiers = localStorage.getItem(CUSTOM_MODIFIERS_KEY)
|
||||
let customModifiers = localStorage.getItem(CUSTOM_MODIFIERS_KEY, '')
|
||||
customModifiersTextBox.value = customModifiers
|
||||
|
||||
if (customModifiersGroupElement !== undefined) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user