X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FDomHelper.js;h=fa5e39724e7d446590d0aed0e48d8cec7b06abba;hb=61bc45258e16a779856dd2ad0862630b489e4583;hp=5d55c0d71de0dc1fd829089452451db0b2d6d286;hpb=cf2bc2177f5663e402bf4e1af8d4eeb3801e4d8a;p=roojs1 diff --git a/Roo/DomHelper.js b/Roo/DomHelper.js index 5d55c0d71d..fa5e39724e 100644 --- a/Roo/DomHelper.js +++ b/Roo/DomHelper.js @@ -48,7 +48,7 @@ Roo.DomHelper = function(){ } b += "<" + o.tag; for(var attr in o){ - if(attr == "tag" || attr == "children" || attr == "cn" || attr == "html" || typeof o[attr] == "function") continue; + if(attr == "tag" || attr == "children" || attr == "cn" || attr == "html" || typeof o[attr] == "function") { continue; } if(attr == "style"){ var s = o["style"]; if(typeof s == "function"){ @@ -131,7 +131,7 @@ Roo.DomHelper = function(){ for(var attr in o){ if(attr == "tag" || attr == "ns" ||attr == "xmlns" ||attr == "children" || attr == "cn" || attr == "html" || - attr == "style" || typeof o[attr] == "function") continue; + attr == "style" || typeof o[attr] == "function") { continue; } if(attr=="cls" && Roo.isIE){ el.className = o["cls"];