[IMP] website_sale: remove dependency on jQuery UI Effects

This commit replaces the usage of jQuery UI Effects "Expo" by the
default jQuery effect (aka. "swing"), but shorter to keep a similar
"punchy" feeling when adding a product to the shopping cart.

Note: this will allow to remove jQuery UI Effects in a follow-up commit.

task-3439226

Part-of: odoo/odoo#135491
This commit is contained in:
Pierre Paridans
2023-09-15 10:48:28 +00:00
parent 59b2c10cbf
commit 68e78881bf
@@ -76,7 +76,7 @@ function animateClone($cart, $elem, offsetTop, offsetLeft) {
left: $cart.offset().left + offsetLeft,
width: 75,
height: 75,
}, 1000, 'easeInOutExpo');
}, 500);
$imgclone.animate({
width: 0,