Properly return an empty string

This commit is contained in:
Ethan O'Brien 2025-06-07 10:51:24 -05:00
parent 6389dfbfb9
commit 02e6b271fd
No known key found for this signature in database
GPG Key ID: 7A6E7CCD3BD93AB1

View File

@ -4150,9 +4150,9 @@ class EmulatorJS {
return rv;
} catch(e) {
console.warn("Could not load previous settings", e);
return "";
}
}
return "";
}
loadSettings() {
if (!window.localStorage || this.config.disableLocalStorage) return;