]> _ Git - fluidbook-html5.git/commitdiff
Add default value for menu position when not set. WIP #1495 @0:10
authorStephen Cameron <stephen@cubedesigners.com>
Tue, 1 Aug 2017 12:08:23 +0000 (14:08 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Tue, 1 Aug 2017 12:08:23 +0000 (14:08 +0200)
js/libs/fluidbook/fluidbook.nav.js

index be606d853b00f5197b2a933ce157d534f556b9e0..35e5e07db09d52631f0967ab986c10ef16131dbb 100644 (file)
@@ -28,7 +28,7 @@ FluidbookNav.prototype = {
                 "pagedim-black"
             ],
             "offCanvas": {
-                "position": this.fluidbook.datas.menuPosition,
+                "position": this.fluidbook.datas.menuPosition || "right",
                 "zposition": "front"
             },
             "navbar": {