change offering to offer in frontend

This commit is contained in:
Jannis Portmann 2021-05-05 22:11:24 +02:00
parent 845c3880f4
commit c3e56756cb
8 changed files with 55 additions and 55 deletions

View file

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