diff options
| author | fuchsi <fuchsi@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2007-09-11 16:21:14 +0000 |
|---|---|---|
| committer | fuchsi <fuchsi@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2007-09-11 16:21:14 +0000 |
| commit | e78098be9bc53f1ac55f0be33a6bc12c838d814a (patch) | |
| tree | 2a5ebc50199a8ae45db0974e8abb80a020f1c345 /htroot/js/yacysearch.js | |
| parent | 07d1e989095b614ba1a04c51e0241d685f8b2fbc (diff) | |
According to HTML-Specs "name" and "id" attributes share the same namespace. So we can't have one element with name="offset" and another one with id="offset". Additionally IE6's getElementById() returns elements with matching names as well and Opera is mimicing this behaviour.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4094 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/js/yacysearch.js')
| -rw-r--r-- | htroot/js/yacysearch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js index ce23eb5d4..e30c7ce5f 100644 --- a/htroot/js/yacysearch.js +++ b/htroot/js/yacysearch.js @@ -69,7 +69,7 @@ function addHover() { } function statistics(offset, items, global, total) { - document.getElementById("offset").firstChild.nodeValue = offset; + document.getElementById("resultsOffset").firstChild.nodeValue = offset; document.getElementById("itemscount").firstChild.nodeValue = items; document.getElementById("globalcount").firstChild.nodeValue = global; document.getElementById("totalcount").firstChild.nodeValue = total; |
