User:Dzenanz/vector.js

if(wgAction == 'edit') { addOnloadHook(function minorEdit {      document.getElementById('wpMinoredit').checked = true;    } )}