From f6865ec6f7f2fa4eb4aa111830d23dc3a04044d1 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 16 Feb 2022 12:59:03 +0100 Subject: [PATCH] wait #5105 @0:05 --- js/libs/fluidbook/fluidbook.nav.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.nav.js b/js/libs/fluidbook/fluidbook.nav.js index 7932cbaf..b2e786b8 100644 --- a/js/libs/fluidbook/fluidbook.nav.js +++ b/js/libs/fluidbook/fluidbook.nav.js @@ -588,10 +588,10 @@ FluidbookNav.prototype = { } link = $(link).get(0); - if(link===null || link===undefined || link==='undefined'){ - link=''; + if (link === null || link === undefined || link === 'undefined') { + link = ''; } - link=link.outerHTML; + link = link.outerHTML; } else { // Normal link link = '' + linkIcon + ''; @@ -781,9 +781,11 @@ FluidbookNav.prototype = { }, openSearch: function (q, cb) { - if (!fluidbook.search.isSearchActive()) { - fluidbook.search.initSearchHints(); // Clears menu and only displays search box - this.menuAPI.closeAllPanels(); // Make sure we're on the main panel with the search box + if (!this.fluidbook.search.isSearchActive()) { + if (!this.fluidbook.settings.searchFullBurger) { + this.fluidbook.search.initSearchHints(); // Clears menu and only displays search box + this.menuAPI.closeAllPanels(); // Make sure we're on the main panel with the search box + } } this.menuAPI.open(); -- 2.39.5