Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/js/dpulc_viewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const handleCanvasIdCallback = (activeCanvasId, loadedCanvasIdx, pushEvent) => {
if(typeof pushEvent === 'function') {
pushEvent("changedCanvas", { "canvas_id": activeCanvasId })
}

document.body.dispatchEvent(new Event("dpulc-viewer-loaded"));
};

// Clover scrolls the thumbnail bar horizontally already in https://github.com/samvera-labs/clover-iiif/blob/03d6a9292a4d60ff2b6524a5579af34ad30dc3b2/src/components/Viewer/Media/Media.tsx#L76-L81, but we need to handle vertical scroll.
Expand Down
Loading