Board Thread:Support Requests - Getting Technical/@comment-24136084-20131231123540/@comment-16101931-20140112002904

Just nitpicking but it's missing a semicolon and uses == instead of === and the indentation is kinda messed up.

Fixed: // Special:Upload script by iggyvolz window.onload = function { if (wgPageName === 'Special:Upload') { document.getElementById('mw-htmlform-description').childNodes[0].childNodes[6].style.display = "none"; // Remove "licensing" tab document.getElementById('mw-htmlform-description').childNodes[0].childNodes[7].style.display = "none"; // Remove space that was under "licensing" tab document.getElementById('wpUploadDescription').value = ''; // Preload Template:Imagebox into description } };