Merge pull request #424 from AntonLejon/patch-3
[*] MO: blockcart animation optimization
This commit is contained in:
@@ -232,6 +232,7 @@ var ajaxCart = {
|
|||||||
.animate({ 'width': $element.attr('width')*0.66, 'height': $element.attr('height')*0.66, 'opacity': 0.2, 'top': cartBlockOffset.top + 30, 'left': cartBlockOffset.left + 15 }, 1000)
|
.animate({ 'width': $element.attr('width')*0.66, 'height': $element.attr('height')*0.66, 'opacity': 0.2, 'top': cartBlockOffset.top + 30, 'left': cartBlockOffset.left + 15 }, 1000)
|
||||||
.fadeOut(100, function() {
|
.fadeOut(100, function() {
|
||||||
ajaxCart.updateCartInformation(jsonData, addedFromProductPage);
|
ajaxCart.updateCartInformation(jsonData, addedFromProductPage);
|
||||||
|
$(this).remove();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user