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
|
// 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' ),
|
var $crossWikiUnreadFilter = $( '.mw-echo-ui-crossWikiUnreadFilterWidget' ),
|
||||||
$notifReadState = $( '.mw-echo-ui-notificationsInboxWidget-main-toolbar-readState' ),
|
$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)
|
// setup the filter button (now we have OOjs UI)
|
||||||
addFilterButton();
|
addFilterButton();
|
||||||
|
Loading…
Reference in New Issue
Block a user