User:Emma/common.js: Difference between revisions

Want an adless experience? Log in or Create an account.
m
Script finished, clearing page.
mNo edit summary
m (Script finished, clearing page.)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
$(function() {if ( wgCanonicalSpecialPageName == 'Upload' ) {
 
document.getElementById( 'wpLicense' ).childNodes[0].removeAttribute("selected");
document.getElementById( 'wpLicense' ).childNodes[1].setAttribute("selected","selected");
        }
});