From: Stephen Cameron Date: Fri, 6 Oct 2017 10:33:31 +0000 (+0200) Subject: Done #1564 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0d3c38842e73cd4ce984e434f63ee127ddfdc45f;p=fluidbook-html5.git Done #1564 @0.25 --- diff --git a/js/libs/fluidbook/fluidbook.nav.js b/js/libs/fluidbook/fluidbook.nav.js index 224e26e3..ad17c2cb 100644 --- a/js/libs/fluidbook/fluidbook.nav.js +++ b/js/libs/fluidbook/fluidbook.nav.js @@ -367,7 +367,7 @@ FluidbookNav.prototype = { // NOTE: Currently the MMenu breaks when the non-cascading chapter UL HTML is inserted so it will // be opened in a popup for now. Todo: fix this so it works as a sub panel of it's own - if (navType == 'menu' && this.fluidbook.datas.chaptersCascade) { + if (navType == 'menu' && this.fluidbook.datas.chaptersCascade && !this.fluidbook.datas.displayChaptersPopup) { link = this.addLink(navType, 'nav-chapters', '', 'chapters', 'chapters', 'chapters'); // Get HTML for submenus (appended later)