mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-24 11:28:19 +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() {
|
||||
let customModifiers = localStorage.getItem(CUSTOM_MODIFIERS_KEY)
|
||||
let customModifiers = localStorage.getItem(CUSTOM_MODIFIERS_KEY, '')
|
||||
customModifiersTextBox.value = customModifiers
|
||||
|
||||
if (customModifiersGroupElement !== undefined) {
|
||||
|
Loading…
Reference in New Issue
Block a user