MediaWiki:Common.js: Difference between revisions

An idea by Jeff Lawlor
Created on 2025-04-25
No edit summary
Tags: Reverted Mobile edit Mobile web edit
No edit summary
Tags: Manual revert Mobile edit Mobile web edit
 
Line 3: Line 3:
// Click event for About Idea infobox
// Click event for About Idea infobox
$('.infobox-tab').click(function(e) {
$('.infobox-tab').click(function(e) {
alert('clicked');
var tab = $(e.target).attr('data-tab');
var tab = $(e.target).attr('data-tab');
$('.infobox-panel').hide();
$('.infobox-panel').hide();