This commit is contained in:
Official Noob 2020-01-06 18:56:37 +00:00 committed by GitHub
parent 2a4abf958d
commit bdae68be35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
SB.js
View file

@ -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();