From 08d90ea00286f317d25b98d12a352032a506a64a Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 6 Oct 2011 12:52:26 +0000 Subject: [PATCH] (bug 31420) Fix weird tablesorter bug where headers spanning multiple rows would get screwed up. Thanks to TheDJ for essentially telling me exactly how to fix this, he was spot on. --- 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 f054aaac40..c98861245e 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -442,7 +442,7 @@ function explodeRowspans( $table ) { // Split multi row cells into multiple cells with the same content - $table.find( '[rowspan]' ).each(function() { + $table.find( 'tbody [rowspan]' ).each(function() { var rowSpan = this.rowSpan; this.rowSpan = 1; var cell = $( this ); -- 2.20.1