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) {
|
||||
initiallyVisible = true;
|
||||
await run();
|
||||
window.dispatchEvent(new CustomEvent(triggerEventName));
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user