diff --git a/webroot/rsrc/externals/javelin/lib/DOM.js b/webroot/rsrc/externals/javelin/lib/DOM.js --- a/webroot/rsrc/externals/javelin/lib/DOM.js +++ b/webroot/rsrc/externals/javelin/lib/DOM.js @@ -310,7 +310,13 @@ } } - 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); }