mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2025-03-13 09:00:14 +00:00
fix continuous cookie sync event listener startup init
This commit is contained in:
parent
b07acde00e
commit
f9bef73540
@ -314,7 +314,7 @@ function handleMessage(request, sender, sendResponse) {
|
||||
|
||||
browserType.runtime.onMessage.addListener(handleMessage);
|
||||
|
||||
browserType.runtime.onInstalled.addListener(() => {
|
||||
browserType.runtime.onStartup.addListener(() => {
|
||||
browserType.storage.local.get('continuousSync', data => {
|
||||
handleContinuousCookie(data?.continuousSync?.checked || false);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user