From c8b8f3a303b943daa8ca880c27881a6a8e1e42d4 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 4 Jan 2012 19:09:03 +0000 Subject: [PATCH] =?utf8?q?re=20r102301=20=E2=80=94=20apply=20Krinkle's=20s?= =?utf8?q?uggested=20fix.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- resources/jquery/jquery.tablesorter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/jquery/jquery.tablesorter.js b/resources/jquery/jquery.tablesorter.js index a2d85a3444..ea86b64e48 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -241,7 +241,7 @@ } $thead.append( this ); } ); - $table.children('tbody').before( $thead ); + $table.find(' > tbody:first').before( $thead ); } if( !$table.get(0).tFoot ) { var $tfoot = $( '' ); -- 2.20.1