Rename offering to offer

This commit is contained in:
Jannis Portmann 2022-01-19 19:59:35 +01:00
parent a7b4bf09e4
commit f54f663fb0
12 changed files with 90 additions and 59 deletions

View file

@ -35,7 +35,7 @@ widget.start()
// 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
})