User:Ciencia Al Poder/common.js

/* Fix the damn upload by URL input box disabled */ $(document.body).on('click', '#wpSourceTypeUrl', function { $('#wpUploadFileURL').prop('disabled', !this.checked); });