From 4b241fe47f72d00cce043895c4e8ca064d055717 Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Fri, 7 Jun 2024 10:38:58 -0500 Subject: [PATCH] [PM-5189] Refactoring implementation --- apps/browser/src/autofill/background/overlay.background.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/autofill/background/overlay.background.ts b/apps/browser/src/autofill/background/overlay.background.ts index 245b1414c7..be45242838 100644 --- a/apps/browser/src/autofill/background/overlay.background.ts +++ b/apps/browser/src/autofill/background/overlay.background.ts @@ -605,8 +605,8 @@ export class OverlayBackground implements OverlayBackgroundInterface { globalThis.clearTimeout(this.inlineMenuFadeInTimeout); } - const message = { command: "updateInlineMenuIframePosition", styles: { opacity: "1" } }; this.inlineMenuFadeInTimeout = globalThis.setTimeout(() => { + const message = { command: "updateInlineMenuIframePosition", styles: { opacity: "1" } }; this.inlineMenuButtonPort?.postMessage(message); this.inlineMenuListPort?.postMessage(message); }, 50);