diff --git a/htroot/env/base.css b/htroot/env/base.css index e015635cd..7686b72b4 100644 --- a/htroot/env/base.css +++ b/htroot/env/base.css @@ -169,8 +169,6 @@ tt, *.tt { margin-bottom:10px; } - - .PostSubject { padding:5px; margin:0; @@ -293,14 +291,6 @@ div.bookmark { padding-bottom:1em; } -div.searchresults { - padding-top:1em; - width:85%; -} - -div.searchresults.hidden { - display:none; -} div.SubMenugroup{ float:left; @@ -321,6 +311,15 @@ div.yacysearch { display:block; } +div.searchresults { + padding-top:1em; + width:100%; +} + +div.searchresults.hidden { + display:none; +} + div.urlactions { float:left; clear:left; diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js index febcc936a..67eeabc3e 100644 --- a/htroot/js/yacysearch.js +++ b/htroot/js/yacysearch.js @@ -74,6 +74,7 @@ function statistics(offset, itemscount, totalcount, localResourceSize, remoteRes document.getElementById("resultsOffset").firstChild.nodeValue = offset; document.getElementById("itemscount").firstChild.nodeValue = itemscount; document.getElementById("totalcount").firstChild.nodeValue = totalcount; + if (document.getElementById("localResourceSize") == null) return; document.getElementById("localResourceSize").firstChild.nodeValue = localResourceSize; document.getElementById("remoteResourceSize").firstChild.nodeValue = remoteResourceSize; document.getElementById("remoteIndexCount").firstChild.nodeValue = remoteIndexCount; diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html index 33ab560b2..d41c19c9c 100644 --- a/htroot/yacysearch.html +++ b/htroot/yacysearch.html @@ -61,23 +61,22 @@ To see a list of all APIs, please visit the