diff --git a/assets/app.js b/assets/app.js index 241112c..dc30bde 100644 --- a/assets/app.js +++ b/assets/app.js @@ -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 }) \ No newline at end of file