1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Fixed typo in dom maker

This commit is contained in:
Jermolene 2014-03-08 10:43:01 +00:00
parent 81af6bdd48
commit 8bd1fa50dc

View File

@ -107,7 +107,7 @@ $tw.utils.domMaker = function(tag,options) {
element.className = options["class"];
}
if(options.text) {
element.appendChild(document.createTextNode(options.text));
element.appendChild(doc.createTextNode(options.text));
}
$tw.utils.each(options.children,function(child) {
element.appendChild(child);