From 8bd1fa50dc88c486b8d8a6b2265358bedeb1ae5b Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 8 Mar 2014 10:43:01 +0000 Subject: [PATCH] Fixed typo in dom maker --- boot/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot.js b/boot/boot.js index 1ee72ef68..721cc47d1 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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);