diff --git a/SB.js b/SB.js index df833a05..c17d6a31 100644 --- a/SB.js +++ b/SB.js @@ -78,8 +78,8 @@ function decodeStoredItem(data) { try { let str = JSON.parse(data); - if(!Array.isArray(str)) return data; - return new Map(str); + if(!Array.isArray(str)) return data; + return new Map(str); } catch(e) { // If all else fails, return the data @@ -115,7 +115,7 @@ function configProxy() { }, deleteProperty(obj, prop) { - chrome.storage.sync.remove(key); + chrome.storage.sync.remove(key); } };