mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
abf445ec9b
While harmless, this patch is not needed if we take a
different approach as discussed in
https://phabricator.wikimedia.org/T204144#4612790
This reverts commit 01dc9de92e
.
Change-Id: Id2fdd8677042121142ab2663edfa0ee400b8bf22
10 lines
349 B
JavaScript
10 lines
349 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, jQuery ) );
|