diff --git a/js/angular/directive/infiniteScroll.js b/js/angular/directive/infiniteScroll.js index 034aebe885a..711a4d7b403 100644 --- a/js/angular/directive/infiniteScroll.js +++ b/js/angular/directive/infiniteScroll.js @@ -36,7 +36,7 @@ * $scope.$broadcast('scroll.infiniteScrollComplete'); * }); * }; - * + * * $scope.$on('stateChangeSuccess', function() { * $scope.loadMore(); * }); @@ -131,10 +131,6 @@ IonicModule var scrollValues = scrollView.getValues(); var maxScroll = infiniteScrollCtrl.getMaxScroll(); - if(maxScroll.top === 0) { - return; - } - if ((maxScroll.left !== -1 && scrollValues.left >= maxScroll.left) || (maxScroll.top !== -1 && scrollValues.top >= maxScroll.top)) { onInfinite();