Authored by weiqingting

提交

@@ -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;