refactor(browser-extension): drop unnecessary call to dispatchEvent

This commit is contained in:
wanhose 2024-08-04 11:54:26 +02:00
parent 75af9b6a02
commit 53ea633f86

View File

@ -483,6 +483,5 @@ window.addEventListener('visibilitychange', async () => {
if (document.visibilityState === 'visible' && !initiallyVisible) {
initiallyVisible = true;
await run();
window.dispatchEvent(new CustomEvent(triggerEventName));
}
});