diff options
author | Moonchild <moonchild@palemoon.org> | 2019-07-15 13:50:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-15 13:50:36 +0000 |
commit | b0ab634bd80bd1384ce0f1d59a6ee29ddcef5e7e (patch) | |
tree | 76db0d248b5dfb41b20bfb6ff8e1cf107d09b205 /application/basilisk/components/nsBrowserGlue.js | |
parent | f4b79463e4077665ea0bd86c0ad8f1c9ffa164ad (diff) | |
parent | c4bd6040ee551652b6f482a2e93b5244d572a366 (diff) | |
download | UXP-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
Diffstat (limited to 'application/basilisk/components/nsBrowserGlue.js')
-rw-r--r-- | application/basilisk/components/nsBrowserGlue.js | 2 |
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. |