mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 04:57:09 +03:00
Fixed migrate
This commit is contained in:
committed by
GitHub
parent
3627661e1f
commit
c99f7925eb
2
SB.js
2
SB.js
@@ -28,7 +28,7 @@ fetchConfig = () => new Promise((resolve, reject) => {
|
||||
|
||||
function migrate() { // Convert sponsorTimes format
|
||||
for (key in SB.localconfig) {
|
||||
if (key.startsWith("sponsortime")) {
|
||||
if (key.startsWith("sponsorTimes")) {
|
||||
SB.config.sponsorTimes.set(key.substr(12), SB.config[key]);
|
||||
delete SB.config[key];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user