mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 09:10:12 +00:00
Convert local function to arrow function to fix context
Bug: T367366
Change-Id: Ie6554c869ce804445b6678d74eee9550b9dc82f9
(cherry picked from commit 45ba7840da
)
This commit is contained in:
parent
e32df234c0
commit
ab3df02c11
|
@ -256,7 +256,7 @@
|
|||
// Success
|
||||
( data ) => {
|
||||
const allModels = { local: localListModel },
|
||||
createBundledNotification = function ( modelName, rawBundledNotifData ) {
|
||||
createBundledNotification = ( modelName, rawBundledNotifData ) => {
|
||||
const bundleNotifData = this.createNotificationData( rawBundledNotifData );
|
||||
bundleNotifData.bundled = true;
|
||||
bundleNotifData.modelName = modelName;
|
||||
|
|
Loading…
Reference in a new issue