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

Added translation to options page title.

This commit is contained in:
kkapsner 2019-02-27 23:11:18 +01:00
parent 7bf1b2e595
commit ba0f25badc
3 changed files with 9 additions and 0 deletions

View file

@ -107,6 +107,7 @@
}).then(function(tabId){
return browser.tabs.get(tabId);
}).then(function(tab){
document.querySelector("head title").textContent = browser.i18n.getMessage("options_title");
let head = document.createElement("header");
document.body.insertBefore(head, document.body.firstChild);