1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

[PM-5189] Refactoring implementation

This commit is contained in:
Cesar Gonzalez
2024-06-07 10:38:58 -05:00
parent 78911732fb
commit 4b241fe47f

View File

@@ -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);