Merge "Stop using the deprecated mobile.notifications.filter.overlay"

This commit is contained in:
jenkins-bot 2019-01-09 20:24:12 +00:00 committed by Gerrit Code Review
commit b4edf0cf23

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