Skip to content

Commit

Permalink
fix WADM target.source
Browse files Browse the repository at this point in the history
Due to a typo, source manifest was not being injected in target.source.partOf.
  • Loading branch information
dfdan committed Dec 14, 2023
1 parent befe9f5 commit 9d28e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WebAnnotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ export default class WebAnnotation {
/** */
source() {
let source = this.canvasId;
if (this.manifest) {
if (this.manifestId) {
source = {
id: this.canvasId,
partOf: {
id: this.manifest.id,
id: this.manifestId,
type: 'Manifest',
},
type: 'Canvas',
Expand Down

0 comments on commit 9d28e94

Please sign in to comment.