summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-22 14:06:15 +0100
committerAndrew Dolgov <[email protected]>2005-12-22 14:06:15 +0100
commit9cbca41fbdcacbdf6fed8152c5f531e61f167efd (patch)
treed8deab96d58204c8fafe8ad10a7d21dcfb64c755 /functions.js
parent5edfe3038d6f2827c40b542015e3aa3f807ee8a5 (diff)
fix bugs introduced by two previous patches
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js3
1 files changed, 2 insertions, 1 deletions
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;
}