From 7553ecf2f6afebad1ab75f129e3ada5265675502 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Mon, 31 Oct 2011 22:20:25 +0000 Subject: [PATCH] jquery.tablesorter: More selector fixes * Limit to rowSpans (td or th) within tableRows that are a direct child of this table's tBody * Follows-up r99092, r101417 --- 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 97c7baf96c..aeada8478f 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( '> tbody [rowspan]' ).each(function() { + $table.find( '> tbody > tr > [rowspan]' ).each(function() { var rowSpan = this.rowSpan; this.rowSpan = 1; var cell = $( this ); -- 2.20.1