Skip to content

Commit

Permalink
fix(pagination): Fix disabled class on next and last buttons (#1036)
Browse files Browse the repository at this point in the history
fixes #922
  • Loading branch information
Martin Cavoj authored and valorkin committed Oct 4, 2016
1 parent fb6d532 commit 01f4759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/pagination/pagination.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ const PAGINATION_TEMPLATE = `
<li class="pagination-next page-item"
*ngIf="directionLinks"
[class.disabled]="noNext()">
[class.disabled]="noNext()||disabled">
<a class="page-link" href (click)="selectPage(page + 1, $event)" [innerHTML]="getText('next')"></a></li>
<li class="pagination-last page-item"
*ngIf="boundaryLinks"
[class.disabled]="noNext()">
[class.disabled]="noNext()||disabled">
<a class="page-link" href (click)="selectPage(totalPages, $event)" [innerHTML]="getText('last')"></a></li>
</ul>
`;
Expand Down

0 comments on commit 01f4759

Please sign in to comment.