From 3af3f2d01f3e15b1f93cbb1d355f25d11b417268 Mon Sep 17 00:00:00 2001
From: =Corey Hulen <corey@hulen.com>
Date: Fri, 23 Oct 2015 08:35:38 -0700
Subject: Fixing issue with saving/getting drafts

---
 web/react/stores/browser_store.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/react/stores/browser_store.jsx')

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;
-- 
cgit v1.2.3-1-g7c22

