From de72d68317bde62fa2ae5644ec7ace50ee9db8bc Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 20 Dec 2023 13:23:06 +0100 Subject: [PATCH] fix #6585 --- js/libs/fluidbook/menu/fluidbook.chapters.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/js/libs/fluidbook/menu/fluidbook.chapters.js b/js/libs/fluidbook/menu/fluidbook.chapters.js index 32b17614..0f3917be 100644 --- a/js/libs/fluidbook/menu/fluidbook.chapters.js +++ b/js/libs/fluidbook/menu/fluidbook.chapters.js @@ -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] += '
' + columnsContainers[j].join('') + '
'; } this.html[sub] += ''; - }, addItem: function (chapter, baseLevel) { + }, + + addItem: function (chapter, baseLevel) { if (baseLevel == undefined) { baseLevel = 0; } -- 2.39.5