diff options
author | Anarios <selivano.d@gmail.com> | 2022-07-28 23:56:32 +0300 |
---|---|---|
committer | Anarios <selivano.d@gmail.com> | 2022-07-28 23:56:32 +0300 |
commit | 61c3757d1ffc6aae4be64ba914d8e8410156bd4d (patch) | |
tree | a1e7a29854a832e377e6cd782f69ec6f8ac2036b /Extensions/combined/ryd.background.js | |
parent | 8e376f61421c34f63031296bafaa394853f65fd9 (diff) |
3.0.0.3v3.0.0.3
Diffstat (limited to 'Extensions/combined/ryd.background.js')
-rw-r--r-- | Extensions/combined/ryd.background.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Extensions/combined/ryd.background.js b/Extensions/combined/ryd.background.js index edc5b6f..cc2817c 100644 --- a/Extensions/combined/ryd.background.js +++ b/Extensions/combined/ryd.background.js @@ -80,11 +80,13 @@ api.runtime.onInstalled.addListener((details) => { details.reason === "chrome_update" || // No need to show changelog if developer just reloaded the extension details.reason === "update" - ) + ) { return; - api.tabs.create({ - url: api.runtime.getURL("/changelog/3/changelog_3.0.html"), - }); + } else if (details.reason == "install") { + api.tabs.create({ + url: api.runtime.getURL("/changelog/3/changelog_3.0.html"), + }); + } }); // api.storage.sync.get(['lastShowChangelogVersion'], (details) => { @@ -370,7 +372,6 @@ function initializeColoredThumbs() { }); } - function initializeColoredBar() { api.storage.sync.get(["coloredBar"], (res) => { if (res.coloredBar === undefined) { |