timeline update: displaying load more button;

This commit is contained in:
tmshv committed 2015-07-09 05:25:03 +03:00
1 parent 11bcea1091
commit f2816229ff
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -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");