Set iframe.src so that the check in closeExistingAndOpenBar actually works

This commit is contained in:
Daniel James Smith 2021-10-18 18:48:52 +02:00
parent bed17673a8
commit a1022c8b27
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
1 changed files with 1 additions and 0 deletions

View File

@ -462,6 +462,7 @@ document.addEventListener('DOMContentLoaded', event => {
const iframe = document.createElement('iframe'); const iframe = document.createElement('iframe');
iframe.style.cssText = 'height: 42px; width: 100%; border: 0; min-height: initial;'; iframe.style.cssText = 'height: 42px; width: 100%; border: 0; min-height: initial;';
iframe.id = 'bit-notification-bar-iframe'; iframe.id = 'bit-notification-bar-iframe';
iframe.src = barPageUrl;
const frameDiv = document.createElement('div'); const frameDiv = document.createElement('div');
frameDiv.setAttribute('aria-live', 'polite'); frameDiv.setAttribute('aria-live', 'polite');