1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 02:55:55 +00:00

fix bugs introduced by two previous patches

This commit is contained in:
Andrew Dolgov
2005-12-22 14:06:15 +01:00
parent 5edfe3038d
commit 9cbca41fbd
2 changed files with 5 additions and 5 deletions

View File

@@ -358,7 +358,8 @@ if (!xmlhttp_rpc && typeof XMLHttpRequest!='undefined') {
function parse_counters(reply, f_document, title_obj) {
try {
for (var l = 0; l < reply.childNodes.length; l++) {
if (!reply.childNodes[l] || !reply.childNodes[l].getAttribute) {
if (!reply.childNodes[l] ||
typeof(reply.childNodes[l].getAttribute) == "undefined") {
// where did this come from?
continue;
}