User:Thinking of England/monobook.js

/* From User:Anomie/nosubmitsummary.js */ /* Don't submit when hitting enter in the summary field */ $(document).ready(function{   $('input#wpSummary').keypress(function(e){ if(e.which==13) e.preventDefault; }); });