MediaWiki:Common.js: Difference between revisions
Content deleted Content added
rv all until I have time to look more closely |
use preventDefault() for return key |
||
Line 281:
function resetOther(box) {
box.value = "</html>{{int:donate_interface-other}}<html>";
}
Line 307:
$( 'form[name="paypalcontribution"]' ).bind( 'keypress', function(e) {
var code = ( e.keyCode ? e.keyCode : e.which );
if ( code == 13 )
e.preventDefault();
};
});
|