diff --git a/SB.js b/SB.js index 62fe058f..9d7ee95b 100644 --- a/SB.js +++ b/SB.js @@ -19,7 +19,7 @@ function configProxy() { return new Proxy({}, handler); } -fetchConfig = _ => new Promise(function(resolve, reject) { +fetchConfig = () => new Promise((resolve, reject) => { chrome.storage.sync.get(null, function(items) { SB.localconfig = items; // Data is ready resolve();