lib/script.js
function checkboxHandler (event) {
    const target = event.target;

    if (target.checked) {
      link.style.display = 'none';
      if (upload.value) {
        upload.value = '';
        link = clear(link);
      }
    }
    else {
      link.style.display = '';
    }
  }
function checkboxHandler (event) {
    const target = event.target;

    if (target.checked) {
      link.style.display = 'none';
      if (upload.value) {
        upload.value = '';
        link = clear(link);
      }
    }
    else {
      link.style.display = '';
    }
  }
function checkboxHandler ( event ) { const target = event . target ; if ( target . checked ) { link . style . display = 'none' ; if ( upload . value ) { upload . value = '' ; link = clear ( link ) ; } } else { link . style . display = '' ; } }
Checkbox handler for file delete checkbox
@param  {[type]} event - handler executed when the load event is fired
Checkbox handler for file delete checkbox