From c4bd6040ee551652b6f482a2e93b5244d572a366 Mon Sep 17 00:00:00 2001 From: FranklinDM Date: Mon, 15 Jul 2019 14:43:13 +0800 Subject: [BASILISK] A prompt should be shown for new foreign add-ons on start up - Follow up to: 2cbbc5de4596ef3436685fa3316eeed9af700249 and #937 - Should be `RecentWindow.getMostRecentBrowserWindow()` instead of `this.getMostRecentBrowserWindow()`. --- application/basilisk/components/nsBrowserGlue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/basilisk/components') 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. -- cgit v1.2.3