]> _ Git - fluidbook-html5.git/commitdiff
wait #4600 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Jul 2021 13:38:06 +0000 (15:38 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Jul 2021 13:38:06 +0000 (15:38 +0200)
js/libs/fluidbook/fluidbook.help.js

index 9f069881778e7dd25717dfc389003a96887e2bb3..4eb023ee73e557d7c55ed6e0ba63047bc79e41eb 100644 (file)
@@ -110,7 +110,7 @@ FluidbookHelp.prototype = {
 
         // When the menu position is inverted, the icon help lines need
         // to be drawn in the reverse order to avoid text/line overlaps
-        var tooltips = this.fluidbook.settings.invertMenuPosition ? $(tooltipSelector).get().reverse() : $(tooltipSelector);
+        var tooltips = this.fluidbook._boolean(this.fluidbook.settings.invertMenuPosition) ? $(tooltipSelector).get().reverse() : $(tooltipSelector);
         var navScale = this.fluidbook.resize.navScale;
         var initialHeight = 20 * navScale; // Buffer in line height away from icons
         var hStep = 25 * navScale; // The step height - the difference in height between the icon label lines