MediaWiki:MonthlyConvert.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
get locale |
class on body to prevent scrolling when modal open (defined in Template:Styles/Default.css) |
||
Line 254: | Line 254: | ||
$('.mc-modal-screen').show(); |
$('.mc-modal-screen').show(); |
||
$('body').addClass('modal-open'); |
|||
} |
} |
||
Line 273: | Line 274: | ||
$( '.mc-edit-amount' ).fadeOut( function () { |
$( '.mc-edit-amount' ).fadeOut( function () { |
||
$('.mc-modal-screen').hide(); |
$('.mc-modal-screen').hide(); |
||
$('body').removeClass('modal-open'); |
|||
} ); |
} ); |
||
} |
} |