10 lines
347 B
JavaScript
10 lines
347 B
JavaScript
// This initialises EventLogging for main menu and some prominent links in the UI.
|
|
// This code should only be loaded on the Minerva skin, it does not apply to other skins.
|
|
( function ( M, $ ) {
|
|
var skin = M.require( 'skins.minerva.scripts/skin' );
|
|
|
|
$( function () {
|
|
skin.getMainMenu().enableLogging();
|
|
} );
|
|
}( mw.mobileFrontend, jQuery ) );
|