]> _ Git - fluidbook-html5.git/commitdiff
wait #4788 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 18 Oct 2021 10:52:24 +0000 (12:52 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 18 Oct 2021 10:52:24 +0000 (12:52 +0200)
js/libs/fluidbook/fluidbook.resize.js

index 05d21e88a7c9a2d92e363c3d40e1b975b0378f67..a5656db23d408d3025e9cf01b427e43e011fbd47 100644 (file)
@@ -225,7 +225,7 @@ FluidbookResize.prototype = {
         });
 
         if (this.fluidbook._boolean(this.fluidbook.settings.logoHideWhenOverriden)) {
-            var availableWidthForLogo = (this.ww - fw) / 2;
+            var availableWidthForLogo = (this.ww - this.fw) / 2;
             if ($("#logo").outerWidth() > availableWidthForLogo) {
                 $("#logo").addClass('overridenByFluidbook');
             } else {