jquery.tablesorter: More selector fixes
authorKrinkle <krinkle@users.mediawiki.org>
Mon, 31 Oct 2011 22:20:25 +0000 (22:20 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Mon, 31 Oct 2011 22:20:25 +0000 (22:20 +0000)
* 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

index 97c7baf..aeada84 100644 (file)
 
        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 );