Merge "Prevent click propogation when clicking 'mark as read' button"

This commit is contained in:
jenkins-bot 2016-07-14 11:16:23 +00:00 committed by Gerrit Code Review
commit f5faa32ad7

View file

@ -234,6 +234,9 @@
// Remove the animation class
this.$element.removeClass( 'mw-echo-ui-notificationItemWidget-initiallyUnseen' );
this.markRead( !this.model.isRead() );
// Prevent propogation in case there's a link wrapping the content
// and the mark as read/unread button
return false;
};
/**