1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Pass vault state (locked/unlocked) to notificationBar

This commit is contained in:
Daniel James Smith
2021-09-30 16:09:42 +02:00
parent 210e0801ff
commit 686c7fbfff
3 changed files with 10 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ document.addEventListener('DOMContentLoaded', () => {
setTimeout(load, 50);
function load() {
const isVaultLocked = getQueryVariable('isVaultLocked') == 'true';
var closeButton = document.getElementById('close-button'),
body = document.querySelector('body'),
bodyRect = body.getBoundingClientRect();