MediaWiki:Common.js: Difference between revisions
Content deleted Content added
https://phabricator.wikimedia.org/T173431 |
change deprecated bind() to on() |
||
Line 305:
// Disable submitting form with Enter key
$('form[name="paypalcontribution"]').
var code = ( e.keyCode ? e.keyCode : e.which );
if ( code == 13 ) {
|