MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 355: Line 355:
});
});


$('h2').each(function(){
/*$('h2').each(function(){
     var span = $(this).find('.mw-headline');
     var span = $(this).find('.mw-headline');
     var edit = $(this).find('.mw-editsection')
     var edit = $(this).find('.mw-editsection')
     var width = span.width()/4;
     var width = span.width()/4;
     edit.css('margin-left', 'calc(0.5em - '+width+'px)').show();
     edit.css('margin-left', 'calc(0.5em - '+width+'px)').show();
});
});*/


});
});