diff --git a/browser/base/content/browser-plugins.js b/browser/base/content/browser-plugins.js index 44933eca9f5..056d67900a2 100644 --- a/browser/base/content/browser-plugins.js +++ b/browser/base/content/browser-plugins.js @@ -766,8 +766,7 @@ var gPluginHandler = { fallbackType == plugin.PLUGIN_BLOCKLISTED; }); let dismissed = notification ? notification.dismissed : true; - // Always show the doorhanger if the anchor is not available. - if (!isElementVisible(gURLBar) || aPrimaryPlugin) + if (aPrimaryPlugin) dismissed = false; let primaryPluginPermission = null;