summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.variables.scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-08-18 08:21:16 +0000
committerXavier-Do <xdo@odoo.com>2020-08-27 17:07:33 +0000
commit2d9667c2286354bf22c1cfea06c06a6b9250ba24 (patch)
treef621ed0fe6998b44271a96f7d1667aef1d964387 /addons/web_editor/static/src/scss/web_editor.variables.scss
parentb6eb31511569551c0882b336bce46fdd44919e5c (diff)
[FIX] website: restore website menu loading with images
Since the images are now lazy loaded by default, the website menu was not loaded correctly anymore when a mega menu was enabled and that there was an image inside. Indeed, the menu loading waits for all images to be loaded to compute the menu that should be in a dropdown when there are too many. As the ones in the mega menus are hidden when the menu is closed, the new lazy loading feature does not load them... which makes the menu loading wait for something that is not being done. This commit solves the problem by not waiting for images inside mega menus. This could actually be done as a stable fix in stable versions as there is no point waiting for those particular images in any case. This will be only merged in master as it is not strictly a bug though, at least for now. Part of https://github.com/odoo/odoo/pull/56427 task-2264627
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.variables.scss')
0 files changed, 0 insertions, 0 deletions