summaryrefslogtreecommitdiffstats
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
commitb0ab634bd80bd1384ce0f1d59a6ee29ddcef5e7e (patch)
tree76db0d248b5dfb41b20bfb6ff8e1cf107d09b205
parentf4b79463e4077665ea0bd86c0ad8f1c9ffa164ad (diff)
parentc4bd6040ee551652b6f482a2e93b5244d572a366 (diff)
downloadUXP-b0ab634bd80bd1384ce0f1d59a6ee29ddcef5e7e.tar
UXP-b0ab634bd80bd1384ce0f1d59a6ee29ddcef5e7e.tar.gz
UXP-b0ab634bd80bd1384ce0f1d59a6ee29ddcef5e7e.tar.lz
UXP-b0ab634bd80bd1384ce0f1d59a6ee29ddcef5e7e.tar.xz
UXP-b0ab634bd80bd1384ce0f1d59a6ee29ddcef5e7e.zip
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.