fix Ox..text()
This commit is contained in:
parent
41c43332c2
commit
4afdb71581
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ Ox.$ = Ox.element = function(value) {
|
|||
ret = Ox.isString(this.textContent)
|
||||
? this.textContent : this.innerText;
|
||||
} else {
|
||||
ret = this.empty().append(this[0].createTextNode(string));
|
||||
ret = this.empty().append(document.createTextNode(string));
|
||||
}
|
||||
return ret;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue