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

Commit

Permalink
chore(pagination): clean up code style
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Nov 23, 2015
1 parent 2a3314d commit 526e6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagination/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ angular.module('ui.bootstrap.pagination', [])

$scope.$watch('totalItems', function(newTotal, oldTotal) {
if (angular.isDefined(newTotal) || newTotal !== oldTotal) {
$scope.totalPages = self.calculateTotalPages();
$scope.totalPages = self.calculateTotalPages();
updatePage();
}
});
Expand Down

0 comments on commit 526e6de

Please sign in to comment.