mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Merge "Clicking a marked-as-unread notification should mark it as read"
This commit is contained in:
commit
66affc067f
|
@ -195,6 +195,9 @@
|
||||||
// Source of this notification if it is cross-wiki
|
// Source of this notification if it is cross-wiki
|
||||||
widget.bundle ? widget.getModel().getSource() : ''
|
widget.bundle ? widget.getModel().getSource() : ''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Toggle the notification as read
|
||||||
|
widget.model.toggleRead( true );
|
||||||
} )
|
} )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue