Set image alt-text of notification close-button
This commit is contained in:
parent
6fe904d48d
commit
beb6b26f15
|
@ -16,7 +16,7 @@
|
|||
<div id="content"></div>
|
||||
<div>
|
||||
<button type="button" class="neutral" id="close-button">
|
||||
<img id="close" alt="X" />
|
||||
<img id="close" alt="Close" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue