diff --git a/static/resources/js/components/paginator/paginator.directive.js b/static/resources/js/components/paginator/paginator.directive.js index ffbbfa5..ebabba5 100644 --- a/static/resources/js/components/paginator/paginator.directive.js +++ b/static/resources/js/components/paginator/paginator.directive.js @@ -169,7 +169,7 @@ if(tc.canDecrement()) { tc.decrement(); drawButtons(tc.getTime()); - element.find('li[tag="pagination-button"] a[page="' + ctrl.page + '"]').trigger('click'); + togglePageButton(); } scope.$apply(); } @@ -178,7 +178,7 @@ if(tc.canIncrement()) { tc.increment(); drawButtons(tc.getTime()); - element.find('li[tag="pagination-button"] a[page="' + ctrl.page + '"]').trigger('click'); + togglePageButton(); } scope.$apply(); }