User:Anomie/nosubmitsummary.js

/* If you want to use this script, simply add the following line to your monobook.js: importScript('User:Anomie/nosubmitsummary.js'); // Linkback: User:Anomie/nosubmitsummary.js
 * (Please keep the comment so I can see how many people use this).

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