MediaWiki:Common.js: Difference between revisions

Content deleted Content added
dumb mistake with preSelectAmount
No edit summary
Line 369:
$("#p-logo a").attr("href", "#");
$("#p-logo a").attr("title", "");
 
// Monthly
if( mw.util.getParamValue('monthly') ) {
$('#frequency_monthly').click();
}
 
$(".frequency-options label").click(function() {
Line 394 ⟶ 389:
$(".frequency-options").hide();
$("#cancel-monthly").hide();
}
 
// Allow preselecting monthly
if( mw.util.getParamValue('monthly') ) {
$('#frequency_monthly').click();
}