Skip to content

Commit

Permalink
Fix placement of subcatimages link (always at the bottom of the page)
Browse files Browse the repository at this point in the history
.mw-category doesn't include the gallery (the link was in the middle),
but .mw-category-generated does.
  • Loading branch information
edwardspec committed Nov 16, 2024
1 parent 681ddaf commit 9f237da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ext.relatedimages.subcatlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $( function () {

var $widget = $( '<div>' )
.attr( 'class', 'mw-subcatimagesgallery' )
.appendTo( '.mw-category' );
.appendTo( '.mw-category-generated' );

var $loading = $( '<div>' )
.attr( 'class', 'mw-subcatimagesgallery-loading' )
Expand Down

0 comments on commit 9f237da

Please sign in to comment.