diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-10-08 13:23:52 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-10 06:26:21 +0000 |
| commit | b0fc1cd4559d466f95f7146b67fde71974f0e7b8 (patch) | |
| tree | 6ada9bb0aae98f7e818380c4ad9102b2ddd6b344 /addons/website/static/src/xml | |
| parent | 7af8534d07211f2267efe4881ab2139e2374c19d (diff) | |
[FIX] website: make background videos in mega menus work
When a background video was used in a mega menu, it was only working in
edit mode. Indeed, the background video size is computed on page load
(and on window resize) but as the video is inside a hidden dropdown
menu in this case, the size cannot be properly computed.
This commit fixes the issue by recomputing the video size on dropdown
menu opening.
task-2080590
closes odoo/odoo#38314
X-original-commit: 66ec1c19b63fe26e559ed2d8d7359df974ade789
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml')
| -rw-r--r-- | addons/website/static/src/xml/website.background.video.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.background.video.xml b/addons/website/static/src/xml/website.background.video.xml index 548ce2aabb2..18c1f4bdba6 100644 --- a/addons/website/static/src/xml/website.background.video.xml +++ b/addons/website/static/src/xml/website.background.video.xml @@ -8,7 +8,7 @@ </div> </div> <iframe t-att-id="iframeID" - class="o_bg_video_iframe" + class="o_bg_video_iframe fade" frameBorder="0" t-att-src="videoSrc"/> </div> |
