re r102301 — apply Krinkle's suggested fix.
[lhc/web/wiklou.git] / resources / jquery / jquery.tablesorter.js
index a2d85a3..ea86b64 100644 (file)
                                }
                                $thead.append( this );
                        } );
-                       $table.children('tbody').before( $thead );
+                       $table.find(' > tbody:first').before( $thead );
                }
                if( !$table.get(0).tFoot ) {
                        var $tfoot = $( '<tfoot>' );