Skip to content

Commit

Permalink
Add CSS class to "More" link
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardspec committed Oct 22, 2024
1 parent 89b850d commit 0c84c51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/ext.relatedimages.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
if ( $nextTab.length ) {
// Add "More" link to load 1 more tab.
$parsed.append( $( '<a>' )
.attr( 'class', 'mw-relatedimages-more' )
.append( mw.msg( 'relatedimages-more' ) )
.click( function () {
$( this ).remove();
Expand Down

0 comments on commit 0c84c51

Please sign in to comment.