提交 2a38391d 编写于 作者: C campaign

by zhanyi

上级 8c0b9fd2
...@@ -170,8 +170,10 @@ ...@@ -170,8 +170,10 @@
return this; return this;
} }
if (htmlstr) { if (htmlstr) {
for (var i = 0, ci; ci = this.children[i++];) { if(this.children){
ci.parentNode = null; for (var i = 0, ci; ci = this.children[i++];) {
ci.parentNode = null;
}
} }
this.children = []; this.children = [];
var tmpRoot = UE.htmlparser(htmlstr); var tmpRoot = UE.htmlparser(htmlstr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册