From 10e584bfa969e152b97f1b1d30ba2b85653f68e7 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sun, 8 Nov 2020 13:11:52 +0100 Subject: [PATCH] #32 Added version information and changelog hyperlink into settings --- src/html/settings.html | 2 ++ src/javascript/settings.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/html/settings.html b/src/html/settings.html index 8422a61..b63bf93 100644 --- a/src/html/settings.html +++ b/src/html/settings.html @@ -47,6 +47,8 @@
Please reload aniwatch website after you changed the settings. +
+ - Changelogs diff --git a/src/javascript/settings.js b/src/javascript/settings.js index 8441fa2..86e4208 100644 --- a/src/javascript/settings.js +++ b/src/javascript/settings.js @@ -42,4 +42,7 @@ onReady(() => { // try restore options restoreOptions(); + + // update version label + document.getElementById('version').innerText = `v${chrome.runtime.getManifest().version}` }); \ No newline at end of file