User:JonTheMon/vector.js

hookEvent( 'load', function { if ( wgAction == 'delete' && ( delReasonBtn = document.getElementById( 'wpConfirmB' ) ) )  {    var delReasonList        = document.getElementById( 'wpDeleteReasonList' );    delReasonList.onchange   = function       {        document.getElementById( 'wpReason' ).value = '';        this.onchange = null;      }  } } ) ;