summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorJason Van Malder <jvm@odoo.com>2019-12-18 10:20:44 +0000
committerJason Van Malder <jvm@odoo.com>2019-12-18 10:20:44 +0000
commit073839c6ce50feadf917cac073a6096f72c174ae (patch)
tree3980f6d29fff0b86687d72dbb42e2c91898c54f5 /addons/web/static/src/js/views/basic/basic_view.js
parentcdaf785ef76742d2860430a150ba402b2b8267a6 (diff)
[FIX] website: fix background video widget on mobile
Issue - Download the customer db: stargue-inc - Go on the website in mobile mode Traceback & the second item in the carousel is not displayed. Cause Traceback: we use `this.$iframe` without checking if it's defined Second item not displayed: the first video promise is overriden by the second video promise. Solution Check if this.$iframe is defined and resolve the old promise instead of overriding it. OPW-2152690 closes odoo/odoo#42139 X-original-commit: f5f569b4705f37865cb976a4df10a0d9f388fae2 Signed-off-by: Jason Van Malder <jvm-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions