MediaWiki:MonthlyConvert.js: Difference between revisions

Content deleted Content added
allow to skip with monthlyconvert=false
remove fade effects
Line 376:
$( '.mc-diff-amount-link' ).on( 'click keypress', function ( e ) {
if ( e.which === 13 || e.type === 'click' ) {
$( '.mc-choice' ).fadeOut( function hide() {;
$( '.mc-edit-amount' ).fadeInshow();
$( '.mc-other-amount-input' ).focus();
} );
}
} );
Line 385 ⟶ 384:
$( '.mc-choice .mc-back' ).on( 'click keypress', function ( e ) {
if ( e.which === 13 || e.type === 'click' ) {
$( '.mc-edit-amount' ).fadeOut( function hide() {;
$('.mc-modal-screen').hide();
$('body').removeClass('modal-open');
} );
}
} );
Line 394 ⟶ 392:
$( '.mc-edit-amount .mc-back' ).on( 'click keypress', function ( e ) {
if ( e.which === 13 || e.type === 'click' ) {
$( '.mc-edit-amount' ).fadeOut( function hide() {;
$( '.mc-choice' ).fadeInshow();
} );
}
} );