From a1022c8b27556cd533e2b2775d49c6a0db900b94 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Mon, 18 Oct 2021 18:48:52 +0200 Subject: [PATCH] Set iframe.src so that the check in closeExistingAndOpenBar actually works --- src/content/notificationBar.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/notificationBar.ts b/src/content/notificationBar.ts index 103b819d6e..c7ba44fa60 100644 --- a/src/content/notificationBar.ts +++ b/src/content/notificationBar.ts @@ -462,6 +462,7 @@ document.addEventListener('DOMContentLoaded', event => { const iframe = document.createElement('iframe'); iframe.style.cssText = 'height: 42px; width: 100%; border: 0; min-height: initial;'; iframe.id = 'bit-notification-bar-iframe'; + iframe.src = barPageUrl; const frameDiv = document.createElement('div'); frameDiv.setAttribute('aria-live', 'polite');