Skip to content

Commit

Permalink
fix(material/paginator): fix tslint issue
Browse files Browse the repository at this point in the history
fix ts lint issue

fixes b/286098030
  • Loading branch information
DBowen33 committed May 7, 2024
1 parent c96fb7d commit e873608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/material/paginator/paginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ export class MatPaginator implements OnInit, OnDestroy {
if (event.key === 'Enter') {
const currentElement = event.target as HTMLButtonElement;

/** setTimeout is used to give DOM time to update currentElement (paginator buttons)
/**
* setTimeout is used to give DOM time to update currentElement (paginator buttons)
* to see if it's disabled or not.
*/
setTimeout(() => {
Expand Down

0 comments on commit e873608

Please sign in to comment.