]> _ Git - fluidbook-html5.git/commitdiff
Fix #1772 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Mon, 30 Oct 2017 13:31:41 +0000 (14:31 +0100)
committerStephen Cameron <stephen@cubedesigners.com>
Mon, 30 Oct 2017 13:31:41 +0000 (14:31 +0100)
js/libs/fluidbook/fluidbook.resize.js

index 71593f531d69a8375899a24bebc049e72855e39c..69fc4f60ae49651d89caed18091e8346e1fe1ae7 100644 (file)
@@ -170,14 +170,14 @@ FluidbookResize.prototype = {
             bottom: audioButtonPosition
         });
 
-        $("#logo,footer,#searchHints,#menuOpener").transform({
+        $("#logo,footer,#searchHints").transform({
             scale: navScale
         });
 
-        // Scale horizontal size and positioning. Transform origin is handled in CSS for LTR/RTL variations
-        $('#horizontalNav').css({
+        // Scale horizontal nav size and positioning. Transform origin is handled in CSS for LTR/RTL variations
+        $('#horizontalNav, #menuOpener').css({
             'transform': 'translateY(-' + 50 * navScale + '%) scale(' + navScale + ')'
-        })
+        });
 
         var headerHeight = this.fluidbook.datas.menuHeight * navScale;
         $('header').css({
@@ -352,4 +352,4 @@ FluidbookResize.prototype = {
             this.fluidbook.search.menuSearchHints.perfectScrollbar('update');
         }
     }
-};
\ No newline at end of file
+};