mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 21:47:06 +03:00
Don't reset everything
This commit is contained in:
@@ -525,7 +525,13 @@ function addDefaults() {
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user