Find table cell from tbody

View Tree does not have a body attribute.
This commit is contained in:
Cédric Krier committed 2024-06-19 16:12:16 +02:00
1 parent 30eb297753
commit 8903615bfa
1 file changed
+2 -2
+2 -2
View File
@@ -1027,9 +1027,9 @@
var selector = `tr > td:nth-child(${i + offset + 1})`;
if ((thead_visible && column.header.is(':hidden')) ||
(column.header.css('display') == 'none')) {
to_hide.add(this.body.find(selector));
to_hide.add(this.tbody.find(selector));
} else {
to_show.add(this.body.find(selector));
to_show.add(this.tbody.find(selector));
}
}