kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fixed typo in dom maker
rodzic
81af6bdd48
commit
8bd1fa50dc
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue