summaryrefslogtreecommitdiffstats
path: root/web/react/stores/browser_store.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/stores/browser_store.jsx')
-rw-r--r--web/react/stores/browser_store.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/stores/browser_store.jsx b/web/react/stores/browser_store.jsx
index adaca44ee..75fb8aa3c 100644
--- a/web/react/stores/browser_store.jsx
+++ b/web/react/stores/browser_store.jsx
@@ -74,9 +74,9 @@ class BrowserStoreClass {
var result = null;
try {
if (this.isLocalStorageSupported()) {
- result = JSON.parse(getPrefix() + localStorage.getItem(name));
+ result = JSON.parse(localStorage.getItem(getPrefix() + name));
} else {
- result = JSON.parse(getPrefix() + sessionStorage.getItem(name));
+ result = JSON.parse(sessionStorage.getItem(getPrefix() + name));
}
} catch (err) {
result = null;