mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
Add a tag to mw.notify
This prevent multiple notifications for the same message. Change-Id: I6487852350497a48e1710fb04d3af01fc5c18116
This commit is contained in:
parent
a67cadbc91
commit
8a78d01763
|
@ -95,7 +95,9 @@ module.exports = function () {
|
|||
if ( $primaryBtn.attr( 'href' ) || $primaryBtn.find( 'a' ).length ) {
|
||||
router.navigate( '/languages' );
|
||||
} else {
|
||||
mw.notify( mw.msg( 'mobile-frontend-languages-not-available' ) );
|
||||
mw.notify( mw.msg( 'mobile-frontend-languages-not-available' ), {
|
||||
tag: 'languages-not-available'
|
||||
} );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue