From 0d925816f0507d2e8fc76dd9424f6b66e60f6436 Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Wed, 13 Jan 2021 14:09:00 +0000 Subject: [PATCH] [FIX] website: fix a typo in the js file of the snippet popup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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#64751 X-original-commit: bca1a13a846b3398a70f12be259a425df140a8f7 Signed-off-by: Jérémy Kersten (jke) --- addons/website/static/src/snippets/s_popup/000.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }