Skip to content

Commit

Permalink
Disable previous button
Browse files Browse the repository at this point in the history
  • Loading branch information
Saira-A committed Aug 23, 2024
1 parent c0f2b10 commit 52f2f84
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -719,11 +719,13 @@ export class PagingHeaderPanel extends HeaderPanel<
disablePrevButton(): void {
this.prevButtonEnabled = false;
this.$prevButton.disable();
this.$prevButton.attr("disabled","disabled");
}

enablePrevButton(): void {
this.prevButtonEnabled = true;
this.$prevButton.enable();
this.$prevButton.removeAttr("disabled");
}

disableNextButton(): void {
Expand Down

0 comments on commit 52f2f84

Please sign in to comment.