Difference between revisions of User:Viceroy Sam/common.js
Jump to navigation
Jump to search
Viceroy Sam (talk | contribs) (importScript('User:MusikAnimal/nightpedia.js')) |
Viceroy Sam (talk | contribs) (u) |
||
Line 1: | Line 1: | ||
importScript('User:MusikAnimal/nightpedia.js') | importScript('User:MusikAnimal/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; } } ); |
Revision as of 19:42, 13 June 2020
importScript('User:MusikAnimal/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; } } );