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,10 +1936,10 @@ Tab.prototype = {
|
|||||||
// is a hidden plugin object
|
// is a hidden plugin object
|
||||||
let overlay = plugin.ownerDocument.getAnonymousElementByAttribute(plugin, "class", "mainBox");
|
let overlay = plugin.ownerDocument.getAnonymousElementByAttribute(plugin, "class", "mainBox");
|
||||||
if (!overlay || PluginHelper.isTooSmall(plugin, overlay)) {
|
if (!overlay || PluginHelper.isTooSmall(plugin, overlay)) {
|
||||||
if (overlay)
|
|
||||||
overlay.style.visibility = "hidden";
|
|
||||||
if (this.loadEventProcessed && !this.clickToPlayPluginDoorhangerShown)
|
if (this.loadEventProcessed && !this.clickToPlayPluginDoorhangerShown)
|
||||||
PluginHelper.showDoorHanger(this);
|
PluginHelper.showDoorHanger(this);
|
||||||
|
|
||||||
|
if (!overlay)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user