| Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js |
| — | — | @@ -21,7 +21,7 @@ |
| 22 | 22 | * @return jQuery |
| 23 | 23 | */ |
| 24 | 24 | var tableCreate = function( header, data ) { |
| 25 | | - var $table = $('<table class="mw-sortable"><thead></thead><tbody></tbody></table>'), |
| | 25 | + var $table = $('<table class="sortable"><thead></thead><tbody></tbody></table>'), |
| 26 | 26 | $thead = $table.find('thead'), |
| 27 | 27 | $tbody = $table.find('tbody'); |
| 28 | 28 | var $tr = $('<tr>'); |
| Index: trunk/phase3/resources/jquery/jquery.tablesorter.js |
| — | — | @@ -240,7 +240,7 @@ |
| 241 | 241 | this.order = 0; |
| 242 | 242 | this.count = 0; |
| 243 | 243 | |
| 244 | | - if ( $( this ).is( '.unsortable, .mw-unsortable' ) ) { |
| | 244 | + if ( $( this ).is( '.unsortable' ) ) { |
| 245 | 245 | this.sortDisabled = true; |
| 246 | 246 | } |
| 247 | 247 | |
| Index: trunk/phase3/resources/mediawiki.page/mediawiki.page.ready.js |
| — | — | @@ -9,9 +9,9 @@ |
| 10 | 10 | $( '.mw-collapsible' ).makeCollapsible(); |
| 11 | 11 | |
| 12 | 12 | /* Lazy load jquery.tablesorter */ |
| 13 | | - if ( $( 'table.mw-sortable, table.sortable' ).length ) { |
| | 13 | + if ( $( 'table.sortable' ).length ) { |
| 14 | 14 | mw.loader.using( 'jquery.tablesorter', function() { |
| 15 | | - $( 'table.mw-sortable, table.sortable' ).tablesorter(); |
| | 15 | + $( 'table.sortable' ).tablesorter(); |
| 16 | 16 | }); |
| 17 | 17 | } |
| 18 | 18 | |