]> _ Git - fluidbook-html5.git/commitdiff
fix #1964 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 27 Feb 2018 15:27:57 +0000 (16:27 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 27 Feb 2018 15:27:57 +0000 (16:27 +0100)
js/libs/fluidbook/fluidbook.interface.js
js/libs/fluidbook/fluidbook.menu.js

index 0e59ab2e50de7ec3546ac1e989767daeb69057dc..5d87da2d1ed305658fcec4bbb2ec8590d23b483f 100644 (file)
@@ -77,7 +77,6 @@ FluidbookInterface.prototype = {
     },
 
     toggleInterface: function () {
-        console.log('toogle interface; current : ' + this.interfaceVisible);
         if (this.interfaceVisible && this.autoHideArrows()) {
             return this.hideInterface();
         } else {
index ca3a37e2b8b7e71b8231792c07cb86fe19c91453..c48741c5fc19c7eeb40bbe52570f15f67f169e85 100644 (file)
@@ -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);
                     }