Rectified some usage of innerHTML
This commit is contained in:
parent
a8bbf6013e
commit
b4066d6d0d
@ -131,7 +131,7 @@ function initialize() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Update version.
|
// Update version.
|
||||||
document.querySelector(".bottom-info .version").innerHTML = chrome.runtime.getManifest().version;
|
document.querySelector(".bottom-info .version").innerText = chrome.runtime.getManifest().version;
|
||||||
|
|
||||||
// Listeners for Reset and Save buttons.
|
// Listeners for Reset and Save buttons.
|
||||||
document.querySelectorAll("button").forEach(button => {
|
document.querySelectorAll("button").forEach(button => {
|
||||||
|
|||||||
@ -213,7 +213,7 @@ function initialize() {
|
|||||||
window.AKS = { };
|
window.AKS = { };
|
||||||
|
|
||||||
// Update version.
|
// Update version.
|
||||||
document.querySelector(".info-header .version").innerHTML = chrome.runtime.getManifest().version;
|
document.querySelector(".info-header .version").innerText = chrome.runtime.getManifest().version;
|
||||||
|
|
||||||
// Retrieve saved settings.
|
// Retrieve saved settings.
|
||||||
chrome.tabs.query({currentWindow: true, active: true}, (tabs) => {
|
chrome.tabs.query({currentWindow: true, active: true}, (tabs) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user