From 238c1036365ca03afffa892d91646e044dc24bb4 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Sun, 16 Oct 2011 22:33:04 +0000 Subject: [PATCH] Fix broken test by r99321 --- 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 76ab215ca4..3b6de7b229 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -597,7 +597,7 @@ var $sortbottoms = $table.find( 'tr.sortbottom' ); if ( $sortbottoms.length ) { var $tfoot = $table.find( 'tfoot' ); - if( $tfoot ) { + if( $tfoot.length ) { $tfoot.eq(0).prepend( $sortbottoms ); } else { $table.append( $( '' ).append( $sortbottoms ) ) -- 2.20.1