mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Don't reset everything
This commit is contained in:
@@ -525,7 +525,13 @@ function addDefaults() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function resetToDefault() {
|
function resetToDefault() {
|
||||||
chrome.storage.sync.set(Config.syncDefaults);
|
chrome.storage.sync.set({
|
||||||
|
...Config.syncDefaults,
|
||||||
|
userID: Config.config.userID,
|
||||||
|
minutesSaved: Config.config.minutesSaved,
|
||||||
|
skipCount: Config.config.skipCount,
|
||||||
|
sponsorTimesContributed: Config.config.sponsorTimesContributed
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sync config
|
// Sync config
|
||||||
|
|||||||
Reference in New Issue
Block a user