$( '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();
+
} );