mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Update SB.js
This commit is contained in:
parent
c99f7925eb
commit
d8ae73e96a
1 changed files with 1 additions and 1 deletions
2
SB.js
2
SB.js
|
@ -29,7 +29,7 @@ fetchConfig = () => new Promise((resolve, reject) => {
|
|||
function migrate() { // Convert sponsorTimes format
|
||||
for (key in SB.localconfig) {
|
||||
if (key.startsWith("sponsorTimes")) {
|
||||
SB.config.sponsorTimes.set(key.substr(12), SB.config[key]);
|
||||
SB.config.sponsorTimes.set(key.substr(11), SB.config[key]);
|
||||
delete SB.config[key];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue