...
|
...
|
@@ -53,7 +53,7 @@ function hotrank(page, sort, tabId, notab) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
$(window).scroll(function () {
|
|
|
function scrollHandler() {
|
|
|
if (page === 2) {
|
|
|
return;
|
|
|
}
|
...
|
...
|
@@ -63,8 +63,13 @@ $(window).scroll(function () { |
|
|
page = 2;
|
|
|
notab = 1;
|
|
|
hotrank(page, sort, id, notab);
|
|
|
}
|
|
|
|
|
|
//srcoll to load more
|
|
|
$(window).scroll(function() {
|
|
|
window.requestAnimationFrame(scrollHandler);
|
|
|
});
|
|
|
|
|
|
hotrank(page, sort, id, notab);
|
|
|
hotnav = new Hammer(document.getElementById('hotRank'));
|
|
|
hotnav.on('tap', function (e) {
|
...
|
...
|
|