Fix a bug where a null value for custom modifiers would break

This commit is contained in:
cmdr2 2022-10-21 14:42:02 +05:30
parent 4174c8c25c
commit 93bf93d3a1

View File

@ -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) {