MediaWiki:Common.js: Difference between revisions

An idea by Jeff Lawlor
Created on 2025-04-25
No edit summary
No edit summary
Line 25: Line 25:
$('.infobox-panel.' + tab).show();
$('.infobox-panel.' + tab).show();
$('.infobox-tab').removeClass('active');
$('.infobox-tab').removeClass('active');
$('.infobox-tab.' + tab).addClass('active');
$(e.target).addClass('active');
});
});