]> _ Git - fluidbook-html5.git/commitdiff
fix #1745 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Oct 2017 13:46:21 +0000 (15:46 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Oct 2017 13:46:21 +0000 (15:46 +0200)
js/libs/fluidbook/menu/fluidbook.index.js

index d5ba08c825e074580532a6e3fe0f655b43848c61..60de61543c4ab0fc953cc591d2064e5208de5d36 100644 (file)
@@ -62,7 +62,7 @@ FluidbookIndex.prototype = {
                     s2 = 'left'
                 }
 
-                if (j < this.fluidbook.datas.pages) {
+                if (j <= this.fluidbook.datas.pages) {
                     ix2 += '<div class="thumb ' + s1 + '"><a href="#/page/' + j + '">' + this.fluidbook.loader.getThumbImage(j, null, true) + '</a><span class="number">' + this.fluidbook.physicalToVirtual(j) + '</span>';
                     if (this.fluidbook.bookmarks.enabled) {
                         ix2 += this.fluidbook.bookmarks.getBookmarkForPage(j, true);