diff --git a/src/ext/lib/Settings.js b/src/ext/lib/Settings.js index 1fbf66f..a145867 100644 --- a/src/ext/lib/Settings.js +++ b/src/ext/lib/Settings.js @@ -52,14 +52,15 @@ class Settings { } } - getExtensionVersion() { + static getExtensionVersion() { if (currentBrowser.firefox) { return browser.runtime.getManifest().version; } else if (currentBrowser.chrome) { return chrome.runtime.getManifest().version; - } else if (currentBrowser.edge) { - return browser.runtime.getManifest().version; - } + } + } + getExtensionVersion() { + return Settings.getExtensionVersion(); } compareExtensionVersions(a, b) { diff --git a/src/options/about.vue b/src/options/about.vue index 66d48e2..5f14955 100644 --- a/src/options/about.vue +++ b/src/options/about.vue @@ -33,10 +33,12 @@