Skip to content

Commit

Permalink
Remove redundant click handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored Oct 29, 2024
1 parent cf57033 commit 523f77b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,6 @@ export class OpenSeadragonCenterPanel extends CenterPanel<
this.$rotateButton.attr("title", this.content.rotateRight);
this.$rotateButton.attr("aria-label", this.content.rotateRight);
this.$rotateButton.addClass("rotate viewportNavButton");
this.$rotateButton.on('click', () => {
this.rotateRight();
});

this.onAccessibleClick(this.$rotateButton, () => {
this.rotateRight();
Expand Down

0 comments on commit 523f77b

Please sign in to comment.