[FIX] website: fix option to open mega menu dropdown on hover

Before this commit, the option to open dropdown on hover did not work
with mega menu.

task-2312878

closes odoo/odoo#59625

X-original-commit: 9b3b1c623867d3618220d8bd8a729701ae46448b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Benjamin Vray
2020-10-09 11:54:10 +00:00
parent cfa20f3eff
commit 69a942d363
+2 -2
View File
@@ -543,8 +543,8 @@ publicWidget.registry.hoverableDropdown = animations.Animation.extend({
update: '_dropdownHover',
}],
events: {
'mouseenter .dropdown:not(.position-static)': '_onMouseEnter',
'mouseleave .dropdown:not(.position-static)': '_onMouseLeave',
'mouseenter .dropdown': '_onMouseEnter',
'mouseleave .dropdown': '_onMouseLeave',
},
/**