*) bugfix for optra problem with span node

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1750 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
theli 2006-02-23 14:27:00 +00:00
parent 6b5a776fa9
commit 05be9264a3

View File

@ -31,7 +31,7 @@ function handleState(req) {
var status = response.getElementsByTagName("status")[0].firstChild.data;
var span = document.getElementById(urlHash)
span.removeChild(span.firstChild);
if (span.hasChildNodes()) span.removeChild(span.firstChild);
if (status < 11) {
span.className = "snippetLoaded";