Skip to content

Commit

Permalink
Merge pull request #2 from yulgit1/numleafs_erj
Browse files Browse the repository at this point in the history
Update IIIFBookReader.js
  • Loading branch information
aeschylus committed Sep 11, 2015
2 parents 94e52d5 + f5879fd commit e5d5ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/js/lib/IIIFBookReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
jQuery.each(brInstance.jsonLd.sequences, function(index, sequence) {
if (sequence['@id'] === sequenceId) {
brInstance.IIIFsequence.title = "here's a sequence";
brInstance.numLeafs = 515;
brInstance.numLeafs = this.canvases.length;
brInstance.IIIFsequence.bookUrl = "http://iiif.io";
brInstance.IIIFsequence.imagesList = getImagesList(sequence);
}
Expand Down

0 comments on commit e5d5ddb

Please sign in to comment.