Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4106662
menu.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
531 B
Referenced Files
None
Subscribers
None
menu.js
View Options
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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment