]> _ Git - fluidbook-html5.git/commitdiff
fix #6585
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 20 Dec 2023 12:23:06 +0000 (13:23 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 20 Dec 2023 12:23:06 +0000 (13:23 +0100)
js/libs/fluidbook/menu/fluidbook.chapters.js

index 32b17614c744d6b33f7e6517efeb5376c67518ac..0f3917bef338c63e8c9f5d35c408300bdbf99656 100644 (file)
@@ -24,12 +24,16 @@ FluidbookChapters.prototype = {
         }
 
         return {sub: sub, view: this.html[sub], title: this.titles[sub], color: this.colors[sub]};
-    }, makeView: function (sub) {
+    },
+
+    makeView: function (sub) {
         this.makeClassicMenu(sub);
         if (this.cascade) {
             this.makeCascadeMenu(sub);
         }
-    }, makeCascadeMenu: function (sub) {
+    },
+
+    makeCascadeMenu: function (sub) {
         var h = $(this.html[sub]);
 
         for (var i = 3; i >= 0; i--) {
@@ -176,7 +180,9 @@ FluidbookChapters.prototype = {
             this.html[sub] += '<div class="column">' + columnsContainers[j].join('') + '</div>';
         }
         this.html[sub] += '</ul>';
-    }, addItem: function (chapter, baseLevel) {
+    },
+
+    addItem: function (chapter, baseLevel) {
         if (baseLevel == undefined) {
             baseLevel = 0;
         }