User:Danh/vector.js

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