From a0322b1174e9d0b893d15bf96bac01bfd10fab7a Mon Sep 17 00:00:00 2001 From: achmizs Date: Thu, 31 Jan 2019 16:02:07 -0500 Subject: [PATCH] Properly display current version in popup --- popup.html | 2 +- popup.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/popup.html b/popup.html index 21d15be..501cfdf 100644 --- a/popup.html +++ b/popup.html @@ -6,7 +6,7 @@
- AlwaysKillSticky 0.6 + AlwaysKillSticky 0.0
diff --git a/popup.js b/popup.js index df53288..15edc42 100644 --- a/popup.js +++ b/popup.js @@ -155,6 +155,9 @@ function updateUIState() { function initialize() { window.ASK = { }; + + // Update version. + document.querySelector(".info-header .version").innerHTML = chrome.runtime.getManifest().version; // Retrieve saved settings. chrome.tabs.query({currentWindow: true, active: true}, (tabs) => {