mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Fix display of user messages orange bar
The icon in Vector is copied across when Vector is loaded before Echo in LocalSettings.php Change-Id: Ida8c78e5c723f9628928f0293f43b2d67616888f
This commit is contained in:
parent
e8430bd44a
commit
b4ec1eda88
|
@ -1090,6 +1090,9 @@ class EchoHooks implements RecentChange_saveHook {
|
|||
[
|
||||
// Hardcode id, which is needed to dismiss the talk alert notification
|
||||
'id' => 'pt-talk-alert',
|
||||
// If Vector hook ran anicon will have been copied to the link class.
|
||||
// We must reset it.
|
||||
'link-class' => [],
|
||||
'text' => $skinTemplate->msg( 'echo-new-messages' )->text(),
|
||||
'class' => [ 'mw-echo-alert' ],
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue