Difference between revisions of User:Viceroy Sam/common.js

Viceroy Sam (talk | contribs)
No edit summary
Viceroy Sam (talk | contribs)
No edit summary
Line 1: Line 1:
importScript('User:Sam.Watson/nightpedia.js')
importScript('User:Sam.Watson/nightpedia.js')
// Code by [[User:Jarry1250]] to stop the "return" key taking effect in the "edit summary" box
$(".mw-summary").keypress(function(e){ if (e.which == 13) { return false; } } );