mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-09-24 10:48:29 +00:00
Stop using the deprecated mobile.notifications.filter.overlay
Use mobile.notifications per the deprecation notice Change-Id: I3432935d6f7ca1e6614d86fa7945c2cfd06968c8
This commit is contained in:
parent
4b49da4e6c
commit
c52c8ab17a
|
@ -56,10 +56,10 @@
|
|||
}
|
||||
|
||||
// Load the notification filter overlay
|
||||
mw.loader.using( 'mobile.notifications.filter.overlay' ).then( function () {
|
||||
mw.loader.using( 'mobile.notifications.overlay' ).then( function () {
|
||||
var $crossWikiUnreadFilter = $( '.mw-echo-ui-crossWikiUnreadFilterWidget' ),
|
||||
$notifReadState = $( '.mw-echo-ui-notificationsInboxWidget-main-toolbar-readState' ),
|
||||
NotificationsFilterOverlay = M.require( 'mobile.notifications.filter.overlay/NotificationsFilterOverlay' );
|
||||
NotificationsFilterOverlay = M.require( 'mobile.notifications.overlay/NotificationsFilterOverlay' );
|
||||
|
||||
// setup the filter button (now we have OOjs UI)
|
||||
addFilterButton();
|
||||
|
|
Loading…
Reference in a new issue