jenkins-bot has submitted this change and it was merged.
Change subject: Fix new messages count update on marking threads as read from
Special:NewMessages
......................................................................
Fix new messages count update on marking threads as read from
Special:NewMessages
It seems that this was only working with only one new message.
Bug: 47414
Change-Id: I43dae4599521db1cc2d97f23fe577fdcff352550
---
M newmessages.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Siebrand: Looks good to me, approved
jenkins-bot: Verified
diff --git a/newmessages.js b/newmessages.js
index e70802b..8d33e12 100644
--- a/newmessages.js
+++ b/newmessages.js
@@ -96,7 +96,7 @@
token: mw.user.tokens.get( 'editToken' )
} ).done( function ( e ) {
liquidThreads.markReadDone.one( e, form.find(
'input[type=submit]' ), operand );
- $( 'li#pt-newmessages' ).html( $( '<a>', $(
e.threadactions ).last().unreadlink ) ); // Unreadlink will be on the last
threadaction
+ $( 'li#pt-newmessages' ).html( $( '<a>', $(
e.threadactions ).last().prop( 'unreadlink' ) ) ); // Unreadlink will be on the
last threadaction
spinner.remove();
} );
},
--
To view, visit https://gerrit.wikimedia.org/r/60012
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I43dae4599521db1cc2d97f23fe577fdcff352550
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits