mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 16:04:35 +00:00
Merge "Prevent click propogation when clicking 'mark as read' button"
This commit is contained in:
commit
f5faa32ad7
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue