Authored by biao

optimise the scroll for recommend for you. cdoe reveiw by LZF

@@ -43,6 +43,8 @@ function request() { @@ -43,6 +43,8 @@ function request() {
43 requesting = false; 43 requesting = false;
44 end = true; 44 end = true;
45 45
  46 + window.rePosFooter();
  47 +
46 }).fail(function() { 48 }).fail(function() {
47 $recommendForYou.hide(); 49 $recommendForYou.hide();
48 }); 50 });
@@ -50,7 +52,7 @@ function request() { @@ -50,7 +52,7 @@ function request() {
50 } 52 }
51 53
52 function scrollHandler() { 54 function scrollHandler() {
53 - if (!end || $(window).scrollTop() + winH >= $(document).height() - 50) { 55 + if (!end || $(window).scrollTop() + winH >= $(document).height() - 200) {
54 request(); 56 request();
55 } 57 }
56 } 58 }