mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 741128 - Plugin placeholder not shown when embeds become visible by dynamically changing height/width. r=mfinkle
This commit is contained in:
parent
09398440b8
commit
516cb59640
@ -1936,11 +1936,11 @@ Tab.prototype = {
|
||||
// is a hidden plugin object
|
||||
let overlay = plugin.ownerDocument.getAnonymousElementByAttribute(plugin, "class", "mainBox");
|
||||
if (!overlay || PluginHelper.isTooSmall(plugin, overlay)) {
|
||||
if (overlay)
|
||||
overlay.style.visibility = "hidden";
|
||||
if (this.loadEventProcessed && !this.clickToPlayPluginDoorhangerShown)
|
||||
PluginHelper.showDoorHanger(this);
|
||||
return;
|
||||
|
||||
if (!overlay)
|
||||
return;
|
||||
}
|
||||
|
||||
// Add click to play listener to the overlay
|
||||
|
Loading…
Reference in New Issue
Block a user