mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-16 16:37:18 +03:00
() =>
This commit is contained in:
2
SB.js
2
SB.js
@@ -19,7 +19,7 @@ function configProxy() {
|
|||||||
return new Proxy({}, handler);
|
return new Proxy({}, handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
fetchConfig = _ => new Promise(function(resolve, reject) {
|
fetchConfig = () => new Promise((resolve, reject) => {
|
||||||
chrome.storage.sync.get(null, function(items) {
|
chrome.storage.sync.get(null, function(items) {
|
||||||
SB.localconfig = items; // Data is ready
|
SB.localconfig = items; // Data is ready
|
||||||
resolve();
|
resolve();
|
||||||
|
|||||||
Reference in New Issue
Block a user