зеркало из https://github.com/mozilla/pjs.git
Bug 745016 - Tap-to-play plugin click listener sometimes doesn't get triggered. r+a=mfinkle
This commit is contained in:
Родитель
9b985c8a28
Коммит
d9a6520225
|
@ -1984,6 +1984,9 @@ Tab.prototype = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force a style flush, so that we ensure our binding is attached.
|
||||||
|
plugin.clientTop;
|
||||||
|
|
||||||
// If the plugin is hidden, or if the overlay is too small, show a doorhanger notification
|
// If the plugin is hidden, or if the overlay is too small, show a doorhanger notification
|
||||||
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)) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче