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

Set image alt-text of notification close-button

This commit is contained in:
Daniel James Smith
2021-10-13 22:31:57 +02:00
parent 6fe904d48d
commit beb6b26f15
2 changed files with 2 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ document.addEventListener('DOMContentLoaded', () => {
: chrome.runtime.getURL('images/icon38.png');
document.getElementById('close').src = chrome.runtime.getURL('images/close.png');
document.getElementById('close').alt = i18n.close;
var closeButton = document.getElementById('close-button'),
body = document.querySelector('body'),