diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-05-29 16:01:18 -0400 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-29 22:11:09 +0200 |
commit | a54972be49e3b8869bf2c212756753bb7873087c (patch) | |
tree | 8333d87fc26a90eecf777b0101ccb4bfefda2fdd /application/palemoon | |
parent | b4f252af6306bce72bc7c8b44907895659d469ee (diff) | |
download | UXP-a54972be49e3b8869bf2c212756753bb7873087c.tar UXP-a54972be49e3b8869bf2c212756753bb7873087c.tar.gz UXP-a54972be49e3b8869bf2c212756753bb7873087c.tar.lz UXP-a54972be49e3b8869bf2c212756753bb7873087c.tar.xz UXP-a54972be49e3b8869bf2c212756753bb7873087c.zip |
[Pale Moon] Update the check for updates menu item logic for already staged automatic updates
Diffstat (limited to 'application/palemoon')
-rw-r--r-- | application/palemoon/base/content/utilityOverlay.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/utilityOverlay.js b/application/palemoon/base/content/utilityOverlay.js index 98a542c75..cd1715b2e 100644 --- a/application/palemoon/base/content/utilityOverlay.js +++ b/application/palemoon/base/content/utilityOverlay.js @@ -558,7 +558,7 @@ function checkForUpdates() // If there's an update ready to be applied, show the "Update Downloaded" // UI instead and let the user know they have to restart the application for // the changes to be applied. - if (um.activeUpdate && um.activeUpdate.state == "pending") + if (um.activeUpdate && ["pending", "pending-elevate", "applied"].includes(um.activeUpdate.state)) prompter.showUpdateDownloaded(um.activeUpdate); else prompter.checkForUpdates(); |