Core: Fix check count cell indexing

This commit is contained in:
Rob Garrison 2017-07-04 11:58:19 -05:00
parent c3fdce97aa
commit 6eaaf23489

View File

@ -2299,7 +2299,7 @@
if ( !valid ) { if ( !valid ) {
$rows.each( function( indx, el ) { $rows.each( function( indx, el ) {
var cell = el.parentElement.nodeName; var cell = el.parentElement.nodeName;
if ( cells.indexOf( cell ) ) { if ( cells.indexOf( cell ) < 0 ) {
cells.push( cell ); cells.push( cell );
} }
}); });