* (bug 30497) Add client-nojs and client-js classes on document element to let styles...
[lhc/web/wiklou.git] / resources / mediawiki.page / mediawiki.page.ready.js
index 319f8cd..370c3a1 100644 (file)
@@ -5,17 +5,20 @@ jQuery( document ).ready( function( $ ) {
                $( 'input[placeholder]' ).placeholder();
        }
 
-       /* Enable makeCollapse */
+       /* Enable makeCollapsible */
        $( '.mw-collapsible' ).makeCollapsible();
 
        /* Lazy load jquery.tablesorter */
-       if ( $( 'table.mw-sortable, table.sortable' ).length ) {
+       if ( $( 'table.sortable' ).length ) {
                mw.loader.using( 'jquery.tablesorter', function() {
-                       $( 'table.mw-sortable, table.sortable' ).tablesorter();
+                       $( 'table.sortable' ).tablesorter();
                });
        }
 
        /* Enable CheckboxShiftClick */
        $( 'input[type=checkbox]:not(.noshiftselect)' ).checkboxShiftClick();
 
+       /* Add accesskey hints to the tooltips */
+       mw.util.updateTooltipAccessKeys();
+
 } );