From 0619e2642e08c23444b1ff085f8b7835791a18df Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Tue, 13 Nov 2007 13:07:28 +0000 Subject: [PATCH] Removed quoted var. --- js/pz2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/pz2.js b/js/pz2.js index 36fc4f3..925c2c1 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1,5 +1,5 @@ /* -** $Id: pz2.js,v 1.66 2007-11-13 12:51:29 jakub Exp $ +** $Id: pz2.js,v 1.67 2007-11-13 13:07:28 jakub Exp $ ** pz2.js - pazpar2's javascript client library. */ @@ -566,7 +566,7 @@ pz2.prototype = .firstChild.nodeValue; // this is stupid if (nodeName == 'md-subject') { - if (record["location"][i]['nodeName']) { + if (record["location"][i][nodeName]) { record["location"][i][nodeName] .push(nodeText) } else { -- 1.7.10.4