From: Vincent Vanwaelscappel Date: Wed, 15 May 2019 09:50:23 +0000 (+0200) Subject: wait #2720 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=11f32b9ef4fae8264096012579c413d9fddb6db3;p=fluidbook-html5.git wait #2720 @1 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index 5ca039b3..8e30e27c 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -604,7 +604,7 @@ FluidbookMenu.prototype = { var indexWidth = Math.floor(ww / 230) * 230; $("#indexViewHolder").css('width', indexWidth); if (this.fluidbook.mobilefirst.enabled) { - var cw = 130 * this.fluidbook.datas.pages; + var cw = 10 + 130 * this.fluidbook.datas.pages; fullscreen = (cw >= ww * 0.9); if (!fullscreen) { w = cw + 30; @@ -663,7 +663,7 @@ FluidbookMenu.prototype = { var indexWidth = Math.floor(ww / 230) * 230; $("#indexViewHolder").css('width', indexWidth); if (this.fluidbook.mobilefirst.enabled) { - var cw = 130 * this.fluidbook.datas.pages; + var cw = 10 + 130 * this.fluidbook.datas.pages; fullscreen = (cw >= ww * 0.9); if (!fullscreen) { w = cw + 30;