}
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 = '<a href="' + extraURL + '" target="_blank" rel="noopener">' + linkIcon + '</a>';
},
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();