Remove use of innerHTML in the getElementText method

This commit is contained in:
Wesley Walser 2012-07-12 15:32:14 +10:00
parent a5607ae960
commit 38f7d73be3

View File

@ -83,11 +83,7 @@
if (config.supportsTextContent) {
text = node.textContent;
} else {
if (node.childNodes[0] && node.childNodes[0].hasChildNodes()) {
text = node.childNodes[0].innerHTML;
} else {
text = node.innerHTML;
}
text = $(node).text();
}
} else {
if (typeof(te) === "function") {