Template:Lp-layout-default: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Rkaldari (talk | contribs)
Disable submitting form with return key
Line 1:
{{DISPLAYTITLE:KeepItFree}}
<html>
<script type="text/javascript">
$( document ).ready( function () {
// Disable submitting form with return key
$( 'form' ).bind( 'keypress', function(e) {
var code = ( e.keyCode ? e.keyCode : e.which );
if ( code == 13 ) return false;
} );
} );
</script>
<style type="text/css">
#pitch {