mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
def03877ce
Bug: T208951 Change-Id: I7cd5ab010596d964fc0896ed250f40d5b6344f6e
10 lines
338 B
JavaScript
10 lines
338 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 mainMenu = M.require( 'skins.minerva.scripts.top/mainMenu' );
|
|
|
|
$( function () {
|
|
mainMenu.enableLogging();
|
|
} );
|
|
}( mw.mobileFrontend ) );
|