mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Merge "Hide 'mark as read' secondary button from foreign x-wiki bundles"
This commit is contained in:
commit
35c8225485
|
@ -24,7 +24,7 @@
|
|||
|
||||
// Hide the [x] mark as read button for foreign notifications
|
||||
if ( this.getModel().isForeign() ) {
|
||||
this.markAsReadButton.toggle( false );
|
||||
this.toggleMarkAsReadButtons( false );
|
||||
}
|
||||
|
||||
this.setPendingElement( this.$group );
|
||||
|
@ -243,7 +243,7 @@
|
|||
|
||||
if ( this.getModel().isForeign() ) {
|
||||
// Never show the [x] mark-all-unread button for foreign bundles
|
||||
this.markAsReadButton.toggle( false );
|
||||
this.toggleMarkAsReadButtons( false );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue