Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
refactor(pagination): remove unused watch
Browse files Browse the repository at this point in the history
Closes #1769
  • Loading branch information
bekos committed Feb 9, 2014
1 parent a88b115 commit cde6a45
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pagination/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ angular.module('ui.bootstrap.pagination', [])
}
};

$scope.$watch('page', function() {
self.render();
});

$scope.$watch('totalItems', function() {
$scope.totalPages = self.calculateTotalPages();
});
Expand Down

0 comments on commit cde6a45

Please sign in to comment.