Skip to content

Commit

Permalink
fix labels
Browse files Browse the repository at this point in the history
  • Loading branch information
NickLaiacona committed Sep 4, 2020
1 parent d2adc42 commit 68a3d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tei-document/convert-facs.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function iiifToFacsimile3( manifestData ) {
if( !id || surfaceIDs.includes(id) ) {
id = generateOrdinalID('page-',n)
}
localLabels = !localLabels ? id : localLabels
localLabels = !localLabels ? { 'none': [ id ] } : localLabels
surfaceIDs.push(id)
n++ // page count

Expand Down

0 comments on commit 68a3d89

Please sign in to comment.