Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Fix numbered page navigation from getting corrupted when statistics() runs.

JeremyRand86b509497048
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js
index 3bb9001cc..0b397b121 100644
--- a/htroot/js/yacysearch.js
+++ b/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);
}
}