From c52c8ab17a27ab8a4f58e9298991c1562ff00400 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 9 Jan 2019 08:57:40 -0800 Subject: [PATCH] Stop using the deprecated mobile.notifications.filter.overlay Use mobile.notifications per the deprecation notice Change-Id: I3432935d6f7ca1e6614d86fa7945c2cfd06968c8 --- resources/skins.minerva.notifications/init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/skins.minerva.notifications/init.js b/resources/skins.minerva.notifications/init.js index 036953c..7822640 100644 --- a/resources/skins.minerva.notifications/init.js +++ b/resources/skins.minerva.notifications/init.js @@ -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();