Template:Lp-layout-default: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
testing transclusion of MediaWiki:Resources/landingpage.js |
removing now duplicated JS |
||
Line 12: | Line 12: | ||
{{MediaWiki:Resources/landingpage.js}} |
{{MediaWiki:Resources/landingpage.js}} |
||
<html> |
<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> |
|||
<table id="LP-table" cellspacing="0" cellpadding="0"> |
<table id="LP-table" cellspacing="0" cellpadding="0"> |
||
<tbody> |
<tbody> |