summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-05-29 16:01:18 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-29 22:11:09 +0200
commita54972be49e3b8869bf2c212756753bb7873087c (patch)
tree8333d87fc26a90eecf777b0101ccb4bfefda2fdd /application/palemoon
parentb4f252af6306bce72bc7c8b44907895659d469ee (diff)
downloadUXP-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.js2
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();