User:Emma/common.js: Difference between revisions

Want an adless experience? Log in or Create an account.
Testing
mNo edit summary
(Testing)
Line 1: Line 1:
jQuery( document ).ready( function( $ ) {
jQuery( document ).ready( function( $ ) {
         if(location.href.match(/File/)) ) {
         if(document.location.toString().split('Special:MovePage')[1].split(':'),) === "File") {
                 document.getElementById( 'wpLeaveRedirect' ).checked = false;
                 document.getElementById( 'wpLeaveRedirect' ).checked = false;
         }
         }
} );
} );