*) bugfix for optra problem with span node

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1750 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 6b5a776fa9
commit 05be9264a3

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

Loading…
Cancel
Save