Rename offering to offer
This commit is contained in:
parent
a7b4bf09e4
commit
f54f663fb0
12 changed files with 90 additions and 59 deletions
|
@ -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
|
||||
})
|
||||
|
|
Reference in a new issue