diff --git a/ui/index.html b/ui/index.html index 88e6e6a8..0e10e151 100644 --- a/ui/index.html +++ b/ui/index.html @@ -337,7 +337,7 @@ - + diff --git a/ui/media/js/auto-save.js b/ui/media/js/auto-save.js index da4dd5ad..ddf9b374 100644 --- a/ui/media/js/auto-save.js +++ b/ui/media/js/auto-save.js @@ -283,6 +283,9 @@ function tryLoadOldSettings() { var localStorageValue = localStorage.getItem(localStorageKey); if (localStorageValue !== null) { var setting = SETTINGS[individual_settings_map[localStorageKey]] + if (setting == null || setting == undefined) { + return + } if (setting.element.type == "checkbox" && (typeof localStorageValue === "string" || localStorageValue instanceof String)) { localStorageValue = localStorageValue == "true" }