This commit is contained in:
Jannis Portmann 2021-05-12 14:48:58 +02:00
parent e7920873c4
commit 198c976441

View file

@ -23,7 +23,7 @@ import "friendly-challenge/widget";
// Dsiplay Filename when uploading
document.querySelector('.custom-file-input').addEventListener('change',function(e){
var fileName = document.getElementById("offer_form_photo").files[0].name;
var fileName = document.getElementById("offering_form_photo").files[0].name;
var nextSibling = e.target.nextElementSibling
nextSibling.innerText = fileName
})