diff options
| author | Benjamin Vray <bvr@odoo.com> | 2021-01-13 14:09:00 +0000 |
|---|---|---|
| committer | Benjamin Vray <bvr@odoo.com> | 2021-01-13 14:09:00 +0000 |
| commit | bca1a13a846b3398a70f12be259a425df140a8f7 (patch) | |
| tree | 5e1e9b7b1a6793596019753a29d099a25dc96c76 /addons/website/static | |
| parent | e995f03a9a55280b1e9173223cdfa619ae164cc3 (diff) | |
[FIX] website: fix a typo in the js file of the snippet popup
We were using 'onExit' instead of 'mouseExit' as the value of the
data-attribute 'display' in the .js code of the s_popup.
task-2312878
closes odoo/odoo#64485
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website/static')
| -rw-r--r-- | addons/website/static/src/snippets/s_popup/000.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/snippets/s_popup/000.js b/addons/website/static/src/snippets/s_popup/000.js index 37b8e2a6a22..0966d2d8b29 100644 --- a/addons/website/static/src/snippets/s_popup/000.js +++ b/addons/website/static/src/snippets/s_popup/000.js @@ -45,7 +45,7 @@ const PopupWidget = publicWidget.Widget.extend({ let delay = $main.data('showAfter'); if (config.device.isMobile) { - if (display === 'onExit') { + if (display === 'mouseExit') { display = 'afterDelay'; delay = 5000; } |
