Merge branch 'fix/detail' into 'develop'
优化为你优选加载时机 See merge request !40
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -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 | } |
-
Please register or login to post a comment