...
|
...
|
@@ -40,13 +40,16 @@ $('.employ span').each(function(index) { |
|
|
});
|
|
|
});
|
|
|
|
|
|
|
|
|
$(window).scroll(function() {
|
|
|
if ($(window).scrollTop() + $(window).height() > $('body').height() - 1) {
|
|
|
function scrollHandler() {
|
|
|
if ($(window).scrollTop() + $(window).height() > $('body').height() - 100) {
|
|
|
page++;
|
|
|
couponAJAX(statu, page);
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$(window).scroll(function() {
|
|
|
window.requestAnimationFrame(scrollHandler);
|
|
|
});
|
|
|
|
|
|
couponAJAX(statu, page); |
|
|
\ No newline at end of file |
...
|
...
|
|