Index: trunk/phase3/resources/jquery/jquery.tablesorter.js |
— | — | @@ -229,7 +229,7 @@ |
230 | 230 | function emulateTHead( $table ) { |
231 | 231 | var $thead = $( '<thead>' ); |
232 | 232 | $table.find( 'tr' ).each( function() { |
233 | | - if ( $(this).find( 'td' ).length > 0 ) { |
| 233 | + if ( $(this).children( 'td' ).length > 0 ) { |
234 | 234 | // This row contains a <td>, so it's not a header row |
235 | 235 | // Stop here |
236 | 236 | return false; |