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 f9a9649 commit 2e741c6Copy full SHA for 2e741c6
src/mirador-viewer/config.default.js
@@ -28,6 +28,7 @@ const multi = params.get('multi');
28
const notMobile = params.get('notMobile');
29
const isDownloadPluginEnabled = (params.get('enableDownloadPlugin') === 'true');
30
const canvasId = params.get('canvasId');
31
+const canvasIndex = params.get('canvasIndex');
32
33
let windowSettings = {};
34
let sideBarPanel = 'info';
@@ -62,6 +63,8 @@ windowSettings.manifestId = manifest;
62
63
if (canvasId && canvasId !== 'null') {
64
windowSettings.canvasId =
65
`${(manifest.replace(MANIFEST_URL_PART, ''))}/canvas/${canvasId}`;
66
+ } else if (canvasIndex) {
67
+ windowSettings.canvasIndex = parseInt(canvasIndex);
68
}
69
})();
70
0 commit comments