We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2559f35 commit f9a9649Copy full SHA for f9a9649
src/app/item-page/mirador-viewer/mirador-viewer.component.ts
@@ -104,7 +104,7 @@ export class MiradorViewerComponent implements OnInit {
104
viewerPath += `&canvasId=${this.canvasId}`;
105
}
106
if (this.canvasIndex) {
107
- viewerPath += `&canvasIndex=${this.canvasIndex}`;
+ viewerPath += `&canvasIndex=${parseInt(this.canvasIndex, 10) - 1}`;
108
109
110
// TODO: Should the query term be trusted here?
0 commit comments