We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ee9f3 commit 87113dfCopy full SHA for 87113df
assets/js/index.js
@@ -285,8 +285,7 @@ class Configuration {
285
// use local storage
286
}
287
get(key, _def) {
288
- console.log(localStorage.getItem(key))
289
- var item = JSON.parse(localStorage.getItem(key)) || {
+ var item = localStorage.getItem(key) != null ? JSON.parse(localStorage.getItem(key)) : {
290
value: _def
291
};
292
return item.value;
0 commit comments