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();
}
// 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
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;
}