aboutsummaryrefslogtreecommitdiff
path: root/static/javascript/minio.js
blob: cea2a18755f1fc7228d8b92d6d8b019d2278374f (plain) (blame)
1
2
3
4
5
document.querySelector('.custom-file-input').addEventListener('change',function(e){
    var fileName = document.getElementById("image").files[0].name;
    var nextSibling = e.target.nextElementSibling
    nextSibling.innerText = fileName
  })