[Centaury] A prompt should be shown for new foreign add-ons on start up.

master
Fedor 2019-09-05 20:04:08 +03:00
parent b30beb5771
commit 99cf682187
1 changed files with 1 additions and 1 deletions

View File

@ -1075,7 +1075,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.