1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

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

View File

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