mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix menu not showing on update
This commit is contained in:
+1
-1
@@ -314,7 +314,7 @@ function migrateOldStorage() {
|
||||
chrome.runtime.onInstalled.addListener(function (event) {
|
||||
chrome.storage.local.remove(["justupdated"]);
|
||||
UpdateCurrentValues();
|
||||
if ( event.reason == "install" ) {
|
||||
if ( event.reason == "install", event.reason == "update" ) {
|
||||
chrome.storage.local.set({ justupdated: true });
|
||||
migrateOldStorage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user