summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-07-15 13:50:36 +0000
committerGitHub <noreply@github.com>2019-07-15 13:50:36 +0000
commit7f4c9d968c183c1070d96d0dc61b91efc03adc26 (patch)
tree76db0d248b5dfb41b20bfb6ff8e1cf107d09b205
parent301c4b08a0842771059a92eea6843b86c3c3ab7d (diff)
parentceef815312688761443e34800e8a7c89f7575f9a (diff)
downloadaura-central-7f4c9d968c183c1070d96d0dc61b91efc03adc26.tar.gz
Merge pull request %1185 from FranklinDM/bk_newaddon-missing
[BASILISK] A prompt should be shown for new foreign add-ons on startup
-rw-r--r--application/basilisk/components/nsBrowserGlue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/basilisk/components/nsBrowserGlue.js b/application/basilisk/components/nsBrowserGlue.js
index d29009b13..ad0b7ed7f 100644
--- a/application/basilisk/components/nsBrowserGlue.js
+++ b/application/basilisk/components/nsBrowserGlue.js
@@ -1074,7 +1074,7 @@ BrowserGlue.prototype = {
// them to the user.
let changedIDs = AddonManager.getStartupChanges(AddonManager.STARTUP_CHANGE_INSTALLED);
if (changedIDs.length > 0) {
- let win = this.getMostRecentBrowserWindow();
+ let win = RecentWindow.getMostRecentBrowserWindow();
AddonManager.getAddonsByIDs(changedIDs, function(aAddons) {
aAddons.forEach(function(aAddon) {
// If the add-on isn't user disabled or can't be enabled then skip it.