Просмотр исходного кода

Rectified some usage of innerHTML

master
Said Achmiz 6 лет назад
Родитель
Сommit
b4066d6d0d
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      src/options.js
  2. 1
    1
      src/popup.js

+ 1
- 1
src/options.js Просмотреть файл

@@ -131,7 +131,7 @@ function initialize() {
});

// 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.
document.querySelectorAll("button").forEach(button => {

+ 1
- 1
src/popup.js Просмотреть файл

@@ -213,7 +213,7 @@ function initialize() {
window.AKS = { };
// 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.
chrome.tabs.query({currentWindow: true, active: true}, (tabs) => {

Загрузка…
Отмена
Сохранить