aboutsummaryrefslogtreecommitdiff
path: root/src/js/arching-kaos-web-ui-settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/arching-kaos-web-ui-settings.js')
-rw-r--r--src/js/arching-kaos-web-ui-settings.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/js/arching-kaos-web-ui-settings.js b/src/js/arching-kaos-web-ui-settings.js
index a8901f5..1e6a008 100644
--- a/src/js/arching-kaos-web-ui-settings.js
+++ b/src/js/arching-kaos-web-ui-settings.js
@@ -56,14 +56,16 @@ var default_settings = {
// with the settings above.
//
// if ( window.localStorage.getItem("ak-settings") === null ) {
- window.localStorage.setItem("ak-settings", JSON.stringify(default_settings))
+// window.localStorage.setItem("ak-settings", JSON.stringify(default_settings));
// }
-var activeSettings = JSON.parse(window.localStorage.getItem("ak-settings"));
+// var activeSettings = JSON.parse(window.localStorage.getItem("ak-settings"));
//
// All comments above are replaced by temporary initializing without saving
// anything in the localStorage
+var activeSettings = default_settings;
// Also, remove any settings stored from previous runs
+window.localStorage.removeItem("ak-settings");
// Full functionality for Stellar intergration, requires clearnet connection
// However, we have other ways of running the WEB-UI, eg locally or via a