Use #pt-notifications-alert to get Special:Notifications link

Users who have never received a message will not have a messages badge.

Bug: T111783
Change-Id: I5e2b9834f4bc2f30948d1799215e29b16cb64c3e
This commit is contained in:
Kunal Mehta 2015-09-08 08:27:40 -07:00 committed by Moriel Schottlender
parent 73e3ed3717
commit aae891d839

View file

@ -21,7 +21,7 @@
hasUnseenMessages = $existingMessageLink.hasClass( 'mw-echo-unseen-notifications' ),
// Store links
links = {
notifications: $( '#pt-notifications_message a' ).attr( 'href' ),
notifications: $( '#pt-notifications-alert a' ).attr( 'href' ),
preferences: $( '#pt-preferences a' ).attr( 'href' )
};