From 9cbca41fbdcacbdf6fed8152c5f531e61f167efd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 22 Dec 2005 14:06:15 +0100 Subject: fix bugs introduced by two previous patches --- functions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index b17e8927e..60fd9da64 100644 --- a/functions.js +++ b/functions.js @@ -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; } -- cgit v1.2.3