From e0547c6b2507de363c3fb1af1680f55e74324263 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 18 Feb 2026 12:58:21 +0100 Subject: [PATCH] wait #8014 @1:10 --- js/libs/fluidbook/fluidbook.burger.js | 3 +-- js/libs/fluidbook/fluidbook.search.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.burger.js b/js/libs/fluidbook/fluidbook.burger.js index 2fcad17c..19b7a957 100644 --- a/js/libs/fluidbook/fluidbook.burger.js +++ b/js/libs/fluidbook/fluidbook.burger.js @@ -389,8 +389,7 @@ FluidbookBurger.prototype = { e.push($(this).attr('term')); $("#q").val(e.join(' ')); if($this.fluidbook.search.isSearchfloatActive) { - var pageNumber = parseInt($("#menuSearchResults a").find('.doubleThumb').attr('page')); - $this.fluidbook.search.openResultsNav(pageNumber); + // Empty } else { $("#searchForm").submit(); } diff --git a/js/libs/fluidbook/fluidbook.search.js b/js/libs/fluidbook/fluidbook.search.js index 0a7d71db..7b939e99 100644 --- a/js/libs/fluidbook/fluidbook.search.js +++ b/js/libs/fluidbook/fluidbook.search.js @@ -140,7 +140,6 @@ FluidbookSearch.prototype = { // to even and remove duplicates created. if(this.callNumber < 1) { if (this.fluidbook.resize.orientation === "landscape") { - console.log("is landscape =====>",this.fluidbook.resize.orientation); const noOddPages = this.resultPages.map(function (page) { if (page % 2 === 1) page--; // Change to preceding even number @@ -163,7 +162,7 @@ FluidbookSearch.prototype = { const counterText = resultPagePosition + '/' + this.resultNavPages.length; - this.resultsNav.find('.searchResultsNavQuery').text($('#q').val()); + this.resultsNav.find('.searchResultsNavQuery').text('').text($('#q').val()); this.resultsNav.find('.searchResultsNavCounter').text(counterText); this.callNumber = 1; } -- 2.39.5