Authored by hf

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

... ... @@ -112,7 +112,9 @@ $page.on('touchstart', '.del-icon', function() {
autoHide: true,
fast: true
});
setTimeout(function(){window.history.go(0);},1000);
setTimeout(function() {
window.history.go(0);
}, 1000);
}
},
complete: function() {
... ...
... ... @@ -26,10 +26,11 @@ function hotrank(page, sort, tabId, notab) {
notab: notab
},
success: function(data) {
console.log(data);
if (page === 1) {
$('.rank-main').remove();
}
if (data === ' ') {
if (data === ' ' && $('.rank-main ul li').length < 1) {
$('#hotRank').html(noResult);
} else {
$('#hotRank').append(data);
... ...