Permalink
Browse files

Fix numbered page navigation from getting corrupted when statistics()…

… runs.
  • Loading branch information...
JeremyRand committed Sep 3, 2017
1 parent a888254 commit 86b50949704843ab978f0880ee6d41c6b946a13e
Showing with 1 addition and 1 deletion.
  1. +1 −1 htroot/js/yacysearch.js
@@ -188,7 +188,7 @@ function statistics(offset, itemscount, itemsperpage, totalcount, localIndexCoun
progresseBarElement.setAttribute('style',"width:" + percent + "%");
}
var resnavElement = document.getElementById("resNav");
if (resnavElement != null) {
if (resnavElement != null && !jsResort) {
resnavElement.innerHTML = renderPaginationButtons(offsetIntValue, itemsperpageIntValue, totalcountIntValue, navurlbase, localQuery, jsResort);
}
}

0 comments on commit 86b5094

Please sign in to comment.