mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-15 07:57:09 +03:00
() =>
This commit is contained in:
2
SB.js
2
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();
|
||||
|
||||
Reference in New Issue
Block a user