Skip to content

Commit

Permalink
MarkBlocked: talk page edit request
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Jul 2, 2024
1 parent d4e431e commit e8d2989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gadget-markblocked.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function markBlocked( container ) {

// Find all "user" links and save them in userLinks : { 'users': [<link1>, <link2>, ...], 'user2': [<link3>, <link3>, ...], ... }
$contentLinks.each( ( i, link ) => {
if ( $( link ).hasClass( 'mw-changeslist-date' ) || $( link ).parent( 'span' ).hasClass( 'mw-history-undo' ) || $( link ).parent( 'span' ).hasClass( 'mw-rollback-link' ) ) {
if ( $( link ).is( '.mw-changeslist-date, .ext-discussiontools-init-timestamplink, .mw-history-undo > a, .mw-rollback-link > a' ) ) {
return;
}
url = $( link ).attr( 'href' );
Expand Down

0 comments on commit e8d2989

Please sign in to comment.