fix typo
authorAlan <alan@roojs.com>
Fri, 16 Sep 2022 02:26:54 +0000 (10:26 +0800)
committerAlan <alan@roojs.com>
Fri, 16 Sep 2022 02:26:54 +0000 (10:26 +0800)
Roo/DomHelper.js

index a896788..194fe45 100644 (file)
@@ -120,7 +120,7 @@ Roo.DomHelper = function(){
         if (typeof(o) == 'string') {
             return parentNode.appendChild(document.createTextNode(o));
         }
-        o.tag = o.tag || div;
+        o.tag = o.tag || 'div';
         if (o.ns && Roo.isIE) {
             ns = false;
             o.tag = o.ns + ':' + o.tag;