Set iframe.src so that the check in closeExistingAndOpenBar actually works
This commit is contained in:
parent
bed17673a8
commit
a1022c8b27
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue