1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Reduced direct dependency on browser.xxx APIs

This commit is contained in:
kkapsner 2019-03-14 16:51:20 +01:00
parent a9edf45aa8
commit 137c1688ba
7 changed files with 53 additions and 14 deletions

View file

@ -167,7 +167,7 @@
let text = document.createElement("div");
text.style.margin = "0.5em auto";
text.textContent = browser.i18n.getMessage("showCanvasWhileAsking_message");
text.textContent = _("showCanvasWhileAsking_message");
imgContainer.appendChild(text);
let img = document.createElement("img");