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 4241fd8dd..fb41d7f37 100644 --- a/src/content-handlers/iiif/modules/uv-openseadragoncenterpanel-module/OpenSeadragonCenterPanel.ts +++ b/src/content-handlers/iiif/modules/uv-openseadragoncenterpanel-module/OpenSeadragonCenterPanel.ts @@ -361,40 +361,52 @@ export class OpenSeadragonCenterPanel extends CenterPanel< ], }); - this.$zoomInButton = this.$viewer.find('div[title="Zoom in"]'); + let $oldZoomIn = this.$viewer.find('div[title="Zoom in"]'); + this.$zoomInButton = $("