|
@@ -182,9 +182,7 @@ function scanTable( viewTable ) {
|
|
|
|
|
|
|
|
// There might be some extra empty text nodes between the `tr`s.
|
|
// There might be some extra empty text nodes between the `tr`s.
|
|
|
// Make sure further code operates on `tr`s only. (#145)
|
|
// Make sure further code operates on `tr`s only. (#145)
|
|
|
- const trs = Array.from( tableChild.getChildren() ).filter( el => {
|
|
|
|
|
- return el.is( 'element', 'tr' );
|
|
|
|
|
- } );
|
|
|
|
|
|
|
+ const trs = Array.from( tableChild.getChildren() ).filter( el => el.is( 'element', 'tr' ) );
|
|
|
|
|
|
|
|
for ( const tr of trs ) {
|
|
for ( const tr of trs ) {
|
|
|
// This <tr> is a child of a first <thead> element.
|
|
// This <tr> is a child of a first <thead> element.
|