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