Skip to content

Commit

Permalink
Fix numbered page navigation from getting corrupted when statistics()…
Browse files Browse the repository at this point in the history
… runs.
  • Loading branch information
JeremyRand committed Sep 3, 2017
1 parent a888254 commit 86b5094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/js/yacysearch.js
Expand Up @@ -188,7 +188,7 @@ function statistics(offset, itemscount, itemsperpage, totalcount, localIndexCoun
progresseBarElement.setAttribute('style',"width:" + percent + "%"); progresseBarElement.setAttribute('style',"width:" + percent + "%");
} }
var resnavElement = document.getElementById("resNav"); var resnavElement = document.getElementById("resNav");
if (resnavElement != null) { if (resnavElement != null && !jsResort) {
resnavElement.innerHTML = renderPaginationButtons(offsetIntValue, itemsperpageIntValue, totalcountIntValue, navurlbase, localQuery, jsResort); resnavElement.innerHTML = renderPaginationButtons(offsetIntValue, itemsperpageIntValue, totalcountIntValue, navurlbase, localQuery, jsResort);
} }
} }
Expand Down

0 comments on commit 86b5094

Please sign in to comment.