re r102301 — apply Krinkle's suggested fix.
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 4 Jan 2012 19:09:03 +0000 (19:09 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 4 Jan 2012 19:09:03 +0000 (19:09 +0000)
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>' );