From: Mike Taylor Date: Wed, 28 May 2014 14:48:51 +0000 (+0100) Subject: Use X-Git-Tag: v1.7.0~5^2~3 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=79502c7f2d7163685633137c9f435fada3df413e;p=pazpar2-moved-to-github.git Use attrs[i].value in place of the old attrs[i].nodeValue which Chrome 36.0.1985.18 beta says is deprecated. --- diff --git a/js/pz2.js b/js/pz2.js index 59c501d..824fd60 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1194,7 +1194,7 @@ Element_parseChildNodes = function (node) for (var i = 0; i < attrs.length; i++) { hasChildElems = true; var attrName = '@' + attrs[i].nodeName; - var attrValue = attrs[i].nodeValue; + var attrValue = attrs[i].value; parsed[attrName] = attrValue; }