Stop using the deprecated mobile.notifications.filter.overlay

Use mobile.notifications per the deprecation notice

Change-Id: I3432935d6f7ca1e6614d86fa7945c2cfd06968c8
This commit is contained in:
jdlrobson 2019-01-09 08:57:40 -08:00
parent 4b49da4e6c
commit c52c8ab17a
1 changed files with 2 additions and 2 deletions

View File

@ -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();