fix(background): fix init on addon reload

This commit is contained in:
Thomas Rupprecht 2023-09-13 21:50:31 +02:00
parent 812a1b6110
commit c6feec3a67
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
## \[unreleased]
## \[[0.9.4](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.4)] - 2023-09-13
### ⛰️ Features

View File

@ -11,7 +11,7 @@ browser.runtime.onInstalled.addListener(async (details) => {
}
});
browser.runtime.onStartup.addListener(async () => {
browser.runtime.onStartup.addListener(() => {
init();
});
@ -113,3 +113,5 @@ function init() {
periodInMinutes: REFRESH_TIMEOUT,
});
}
init();