From 523f77bf20f8d3c1263e56e42c9a4faccbb8bb3c Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Tue, 29 Oct 2024 12:29:04 -0400 Subject: [PATCH] Remove redundant click handler. --- .../OpenSeadragonCenterPanel.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/content-handlers/iiif/modules/uv-openseadragoncenterpanel-module/OpenSeadragonCenterPanel.ts b/src/content-handlers/iiif/modules/uv-openseadragoncenterpanel-module/OpenSeadragonCenterPanel.ts index fdc383518..a0c5697ca 100644 --- a/src/content-handlers/iiif/modules/uv-openseadragoncenterpanel-module/OpenSeadragonCenterPanel.ts +++ b/src/content-handlers/iiif/modules/uv-openseadragoncenterpanel-module/OpenSeadragonCenterPanel.ts @@ -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();