Difference between revisions of User:Viceroy Sam/common.js
Jump to navigation
Jump to search
Viceroy Sam (talk | contribs) (User:Sam.Watson/nightpedia.js) |
Viceroy Sam (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
// Code by [[User:Jarry1250]] to stop the "return" key taking effect in the "edit summary" box | // 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; } } ); | $(".mw-summary").keypress(function(e){ if (e.which == 13) { return false; } } ); c |
Revision as of 20:31, 13 June 2020
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; } } ); c