blob: 370c3a19c2037df064926455407eb570dac6d779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
jQuery( document ).ready( function( $ ) {
/* Emulate placeholder if not supported by browser */
if ( !( 'placeholder' in document.createElement( 'input' ) ) ) {
$( 'input[placeholder]' ).placeholder();
}
/* Enable makeCollapsible */
$( '.mw-collapsible' ).makeCollapsible();
/* Lazy load jquery.tablesorter */
if ( $( 'table.sortable' ).length ) {
mw.loader.using( 'jquery.tablesorter', function() {
$( 'table.sortable' ).tablesorter();
});
}
/* Enable CheckboxShiftClick */
$( 'input[type=checkbox]:not(.noshiftselect)' ).checkboxShiftClick();
/* Add accesskey hints to the tooltips */
mw.util.updateTooltipAccessKeys();
} );
|