[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user