summaryrefslogtreecommitdiff
path: root/js/lib/xml.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/xml.js')
-rw-r--r--js/lib/xml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/xml.js b/js/lib/xml.js
index e8fba6a..e867fdc 100644
--- a/js/lib/xml.js
+++ b/js/lib/xml.js
@@ -9,7 +9,7 @@ var tag = function(name, attrs, selfclosing) {
var i = 0;
var attrib;
while ((attrib = attrs[i]) !== undefined) {
- result = result.concat(' ', attrib[0], '="', attrib[1], '"');
+ result += ' ' + attrib[0] + '="' + attrib[1] + '"';
i++;
}
}