Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -83,7 +83,7 @@ InfiniteLoad.prototype.stop = function() { | @@ -83,7 +83,7 @@ InfiniteLoad.prototype.stop = function() { | ||
83 | InfiniteLoad.prototype.__directionCalculation = function() { | 83 | InfiniteLoad.prototype.__directionCalculation = function() { |
84 | var p = this.options; | 84 | var p = this.options; |
85 | 85 | ||
86 | - if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + window.innerHeight >= p.offset.height()) { | 86 | + if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) { |
87 | return true; | 87 | return true; |
88 | } | 88 | } |
89 | return false; | 89 | return false; |
-
Please register or login to post a comment