Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60012
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
Bug: 47414
Change-Id: I43dae4599521db1cc2d97f23fe577fdcff352550
---
M newmessages.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiquidThreads
refs/changes/12/60012/1
diff --git a/newmessages.js b/newmessages.js
index e70802b..3781ae2 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()[0].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: newchange
Gerrit-Change-Id: I43dae4599521db1cc2d97f23fe577fdcff352550
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits