fix Ox..text()

This commit is contained in:
rolux 2014-08-16 09:05:39 +02:00
parent 41c43332c2
commit 4afdb71581

View file

@ -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;
},