mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-18 13:38:25 +03:00
Update SB.js
This commit is contained in:
2
SB.js
2
SB.js
@@ -51,7 +51,7 @@ function resetConfig() {
|
|||||||
function addDefaults() {
|
function addDefaults() {
|
||||||
Object.keys(SB.defaults).forEach(key => {
|
Object.keys(SB.defaults).forEach(key => {
|
||||||
if(!SB.localconfig.hasOwnProperty(key)) {
|
if(!SB.localconfig.hasOwnProperty(key)) {
|
||||||
SB.localconfig = SB.defaults[key];
|
SB.localconfig[key] = SB.defaults[key];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user