2017-07-12 15:12:40 +00:00
|
|
|
// 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, $ ) {
|
2017-09-07 16:55:28 +00:00
|
|
|
var mainMenu = M.require( 'skins.minerva.scripts.top/mainMenu' );
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
$( function () {
|
2017-09-07 16:55:28 +00:00
|
|
|
mainMenu.enableLogging();
|
2017-07-12 15:12:40 +00:00
|
|
|
} );
|
|
|
|
}( mw.mobileFrontend, jQuery ) );
|