Authored by xuqi

presell mellipsis

... ... @@ -100,13 +100,6 @@ if ($('.cart-nav').length > 0) {
return;
}
if (switchChose === false) {
$cartContentShow.find('.shopping-cart-good .name').each(function() {
this.mlellipsis(2);
});
switchChose = true;
}
if (cartType === 'ordinary') {
cartType = 'advance';
$('#cartType').val('advance');
... ... @@ -123,6 +116,13 @@ if ($('.cart-nav').length > 0) {
$cartContentShow = $cartContent.not('.hide');
if (switchChose === false) {
$cartContentShow.find('.shopping-cart-good .name').each(function() {
this.mlellipsis(2);
});
switchChose = true;
}
//trigger lazyload
$(window).trigger('scroll');
});
... ...