fix(background): fix init on addon reload
This commit is contained in:
parent
812a1b6110
commit
c6feec3a67
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
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
|
### ⛰️ Features
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ browser.runtime.onInstalled.addListener(async (details) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
browser.runtime.onStartup.addListener(async () => {
|
browser.runtime.onStartup.addListener(() => {
|
||||||
init();
|
init();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -113,3 +113,5 @@ function init() {
|
||||||
periodInMinutes: REFRESH_TIMEOUT,
|
periodInMinutes: REFRESH_TIMEOUT,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
init();
|
||||||
|
|
Loading…
Reference in a new issue