Merge "Show revdel links instead of checkboxes on pages where there is no multiple...
[lhc/web/wiklou.git] / resources / jquery / jquery.tablesorter.js
index 1aae48e..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>' );
                                                                if ( $tfoot.length ) {
                                                                        $tfoot.eq(0).prepend( $sortbottoms );
                                                                } else {
-                                                                       $table.append( $( '<tfoot>' ).append( $sortbottoms ) )
+                                                                       $table.append( $( '<tfoot>' ).append( $sortbottoms ) );
                                                                }
                                                        }