diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 55e25880fab..e8dd6aaf01d 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -1975,6 +1975,9 @@ Tab.prototype = { let tab = BrowserApp.getTabForWindow(win); tab.clickToPlayPluginsActivated = true; PluginHelper.playAllPlugins(win); + + if (tab.clickToPlayPluginDoorhangerShown) + NativeWindow.doorhanger.hide("ask-to-play-plugins", tab.id); }, true); break; }