From: Vincent Vanwaelscappel Date: Tue, 27 Feb 2018 15:27:57 +0000 (+0100) Subject: fix #1964 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=dffc57fbc29f409f74d6adb9803786f5b6b87056;p=fluidbook-html5.git fix #1964 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.interface.js b/js/libs/fluidbook/fluidbook.interface.js index 0e59ab2e..5d87da2d 100644 --- a/js/libs/fluidbook/fluidbook.interface.js +++ b/js/libs/fluidbook/fluidbook.interface.js @@ -77,7 +77,6 @@ FluidbookInterface.prototype = { }, toggleInterface: function () { - console.log('toogle interface; current : ' + this.interfaceVisible); if (this.interfaceVisible && this.autoHideArrows()) { return this.hideInterface(); } else { diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index ca3a37e2..c48741c5 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -534,7 +534,7 @@ FluidbookMenu.prototype = { } else { forceHeight = true; - s = Math.min(w / nw, h / nh); + s = Math.min(2, w / nw, h / nh); if (iframe.is('img') || fullscreen) { s = Math.min(1, s); }