refactor(browser-extension): drop unnecessary call to dispatchEvent
This commit is contained in:
parent
75af9b6a02
commit
53ea633f86
@ -483,6 +483,5 @@ window.addEventListener('visibilitychange', async () => {
|
|||||||
if (document.visibilityState === 'visible' && !initiallyVisible) {
|
if (document.visibilityState === 'visible' && !initiallyVisible) {
|
||||||
initiallyVisible = true;
|
initiallyVisible = true;
|
||||||
await run();
|
await run();
|
||||||
window.dispatchEvent(new CustomEvent(triggerEventName));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user