mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Remove use of innerHTML in the getElementText method
This commit is contained in:
parent
a5607ae960
commit
38f7d73be3
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user