User:Suffusion of Yellow/monobook.js

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