mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/initLogging.js
Ed Sanders def03877ce Remove obsolete aliases from closures
Bug: T208951
Change-Id: I7cd5ab010596d964fc0896ed250f40d5b6344f6e
2018-11-16 15:16:25 +00:00

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 ) );