From: Vincent Vanwaelscappel Date: Fri, 6 Oct 2017 09:52:56 +0000 (+0200) Subject: done #1649 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=875c465ffde4f1f71e9518ce3a9aa75e2f2a1d6f;p=fluidbook-html5.git done #1649 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index f53ae8ca..a1db912a 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -373,6 +373,12 @@ FluidbookMenu.prototype = { var index = '
' + this.closeButton(c) + '

' + title + '

'; index += this.index.getView(group); $("#view").append('
' + index + '
'); + // Mark current page + var cp = this.fluidbook.currentPage; + if (cp % 2 == 1) { + cp--; + } + $("#view").find('.doubleThumb[page="' + cp + '"]').addClass('here'); this.fluidbook.bookmarks.updateBookmarks(); if (callback != undefined) { callback(); diff --git a/style/fluidbook.less b/style/fluidbook.less index b8435c45..cb9fb13d 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1232,7 +1232,7 @@ form input[type="text"], form input[type="email"] { .doubleThumb, .padding { display: inline-block; padding: 10px 10px 25px 10px; - margin-bottom:15px; + margin: 0 5px 15px; position: relative; width: 200px; cursor: pointer;