diff --git a/webroot/rsrc/externals/javelin/lib/DOM.js b/webroot/rsrc/externals/javelin/lib/DOM.js index c131d107cb..189d778ad5 100644 --- a/webroot/rsrc/externals/javelin/lib/DOM.js +++ b/webroot/rsrc/externals/javelin/lib/DOM.js @@ -310,7 +310,13 @@ JX.$N = function(tag, attr, content) { } } - JX.copy(node, attr); + for (var k in attr) { + if (attr[k] === null) { + continue; + } + node[k] = attr[k]; + } + if (content) { JX.DOM.setContent(node, content); }