Skip to content

Commit

Permalink
Clear sync before setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayquaza01 committed Jun 28, 2018
1 parent faf37b1 commit 5797460
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ function changeBadgeColor() {

async function uploadToSync() {
var res = await browser.storage.local.get();
await browser.storage.sync.clear();
browser.storage.sync.set(res);
}

Expand Down

0 comments on commit 5797460

Please sign in to comment.