]> _ Git - fluidbook-html5.git/commitdiff
wip #3357 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 20 Jan 2020 16:14:03 +0000 (17:14 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 20 Jan 2020 16:14:03 +0000 (17:14 +0100)
js/libs/fluidbook/menu/fluidbook.index.js
style/slider.less

index b76cbc6f5ddcc7ce5d7f2f075ad54bac57bbb927..112e70a90f4b28242ac7ff6769c73e749c2a2b39 100644 (file)
@@ -120,7 +120,7 @@ FluidbookIndex.prototype = {
             if (i > 0) {
                 ix1 += '<div class="thumb ' + s1 + '"' + dim.thumb + '><a href="#/page/' + i + '">' + this.fluidbook.loader.getThumbImage(i, true, dim.thumb) + '</a><span class="number"' + dim.pagenumber + '>' + this.fluidbook.physicalToVirtual(i) + '</span>';
                 if (this.fluidbook.bookmarks.enabled) {
-                    ix1 += this.fluidbook.bookmarks.getBookmarkForPage(i, true, mobileFirst);
+                    ix1 += this.fluidbook.bookmarks.getBookmarkForPage(i, mobileFirst, this.fluidbook.datas.bookmarkPermanentIcon);
                 }
                 pages.push(i);
                 ix1 += '</div>';
index a28aa82d6efa0726dd385a5f8ba3e2a57aceacf6..f3569c8980b11e87db4a0eeb0a9829a1d05398cb 100644 (file)
     .doubleThumb {
       position: relative;
 
-      > .right {
-        left: 100px;
+      > .thumb {
+        &.right {
+          left: 100px;
+        }
+
+        a.bookmark {
+          display: none;
+        }
       }
+
     }
 
     .number {