Authored by xuqi

loading limit

@@ -107,7 +107,7 @@ navHammer.on('tap', function(e) { @@ -107,7 +107,7 @@ navHammer.on('tap', function(e) {
107 }); 107 });
108 108
109 $(document).scroll(function() { 109 $(document).scroll(function() {
110 - if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) { 110 + if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH - 50) {
111 loadMore($infos.not('.hide'), state[curType]); 111 loadMore($infos.not('.hide'), state[curType]);
112 } 112 }
113 }); 113 });