...
|
...
|
@@ -83,7 +83,7 @@ InfiniteLoad.prototype.stop = function() { |
|
|
InfiniteLoad.prototype.__directionCalculation = function() {
|
|
|
var p = this.options;
|
|
|
|
|
|
if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + window.innerHeight >= p.offset.height()) {
|
|
|
if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) {
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|
...
|
...
|
|