(bug 31420) Fix weird tablesorter bug where headers spanning multiple rows would...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 6 Oct 2011 12:52:26 +0000 (12:52 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 6 Oct 2011 12:52:26 +0000 (12:52 +0000)
resources/jquery/jquery.tablesorter.js

index f054aaa..c988612 100644 (file)
 
        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 );