From cd57ab5e54281dabb167fde12755505a4cfeeee2 Mon Sep 17 00:00:00 2001 From: Moriel Schottlender Date: Tue, 15 Mar 2016 17:53:36 -0700 Subject: [PATCH] Clicking a marked-as-unread notification should mark it as read Bug: T129898 Change-Id: Ia8c699ccc4bb0feba0949082608357d35971a515 --- modules/ooui/mw.echo.ui.NotificationItemWidget.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ooui/mw.echo.ui.NotificationItemWidget.js b/modules/ooui/mw.echo.ui.NotificationItemWidget.js index 4351e2ef4..fb8e3c8fb 100644 --- a/modules/ooui/mw.echo.ui.NotificationItemWidget.js +++ b/modules/ooui/mw.echo.ui.NotificationItemWidget.js @@ -195,6 +195,9 @@ // Source of this notification if it is cross-wiki widget.bundle ? widget.getModel().getSource() : '' ); + + // Toggle the notification as read + widget.model.toggleRead( true ); } ) ); }