MediaWiki:MonthlyConvert.js: Difference between revisions

Content deleted Content added
yes and no buttons
No edit summary
Line 234:
params.recurring = true;
callback( params );
} );
$( '.mc-donate-monthly-button' ).on( 'click keypress', function ( e ) {
if ( mc.validateOtherAmount(); ) {
// TODO: decide on extradata to add
params.amount = mc.getOtherAmount();
params.recurring = true;
callback( params );
}
});
Line 259 ⟶ 267:
$( '.mc-choice' ).fadeIn();
} );
}
} );
 
$( '.mc-donate-monthly-button' ).on( 'click keypress', function ( e ) {
if ( e.which === 13 || e.type === 'click' ) {
mc.validateOtherAmount();
}
} );