#32 Added version information and changelog hyperlink into settings

This commit is contained in:
Serraniel 2020-11-08 13:11:52 +01:00
parent 0cae9dd945
commit 10e584bfa9
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3
2 changed files with 5 additions and 0 deletions

View file

@ -47,6 +47,8 @@
<button id="btnReset">Reset</button> <button id="btnReset">Reset</button>
<br /> <br />
<i>Please reload aniwatch website after you changed the settings.</i> <i>Please reload aniwatch website after you changed the settings.</i>
<hr />
<i id="version"></i> <i>- <a href="https://github.com/Serraniel/AniwatchPlus/releases">Changelogs</a></i>
</form> </form>
<script src="../javascript/common.min.js"></script> <script src="../javascript/common.min.js"></script>

View file

@ -42,4 +42,7 @@ onReady(() => {
// try restore options // try restore options
restoreOptions(); restoreOptions();
// update version label
document.getElementById('version').innerText = `v${chrome.runtime.getManifest().version}`
}); });