diff --git a/client/ui/timeline.js b/client/ui/timeline.js index f4a8730d..5bcf0310 100644 --- a/client/ui/timeline.js +++ b/client/ui/timeline.js @@ -67,6 +67,11 @@ module.exports = function(app) { return i['type']; }; + $scope.showFooter = function () { + var canLoadMore = true; + return $scope.feed && $scope.feed.length && canLoadMore; + }; + $scope.loadNext = function () { $scope.timelineUpdating = true; usSpinnerService.spin("timelineMore"); diff --git a/templates/views/timeline.html b/templates/views/timeline.html index e46d4cd8..21887935 100644 --- a/templates/views/timeline.html +++ b/templates/views/timeline.html @@ -5,7 +5,7 @@ ng-class="{left: isEven($index), right: !isEven($index)}"> -