mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: auto remove incorrect data after update
This commit is contained in:
@@ -281,6 +281,7 @@ async function UpdateCurrentValues() {
|
||||
|
||||
browser.runtime.onInstalled.addListener(function (event) {
|
||||
browser.storage.local.remove(['justupdated']);
|
||||
browser.storage.local.remove(['data']);
|
||||
UpdateCurrentValues();
|
||||
if ( event.reason == 'install', event.reason == 'update' ) {
|
||||
browser.storage.local.set({ justupdated: true });
|
||||
|
||||
Reference in New Issue
Block a user