fix Ox..text()

This commit is contained in:
rolux 2014-08-18 19:10:25 +02:00
parent b10d454d2c
commit 3c71cc7a26

View file

@ -461,7 +461,8 @@ Ox.$ = Ox.element = function(value) {
ret = Ox.isString(this.textContent)
? this.textContent : this.innerText;
} else {
ret = this.empty().append(document.createTextNode(string));
this.empty()[0].appendChild(document.createTextNode(string));
ret = this;
}
return ret;
},