Page MenuHomeWickedGov Phorge

menu.js
No OneTemporary

Size
531 B
Referenced Files
None
Subscribers
None
const BODY_NOTIFICATIONS_REVEAL_CLASS = 'navigation-enabled secondary-navigation-enabled';
/**
* Wire up the main menu
*
* @ignore
*/
function init() {
// See I09c27a084100b223662f84de6cbe01bebe1fe774
// will trigger every time the Echo notification is opened or closed.
// This controls the drawer like behaviour of notifications
// on tablet in mobile mode.
mw.hook( 'echo.mobile' ).add( ( isOpen ) => {
$( document.body ).toggleClass( BODY_NOTIFICATIONS_REVEAL_CLASS, isOpen );
} );
}
module.exports = {
init
};

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 18, 19:40 (2 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0d/ee/b0cba238855ec6febe1c1cde590f
Default Alt Text
menu.js (531 B)

Event Timeline