summaryrefslogtreecommitdiff
path: root/js/lib/html.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/html.js')
-rw-r--r--js/lib/html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/html.js b/js/lib/html.js
index db87c22..e361fe1 100644
--- a/js/lib/html.js
+++ b/js/lib/html.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++;
}
}