fix typo
This commit is contained in:
parent
e7920873c4
commit
198c976441
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ import "friendly-challenge/widget";
|
||||||
|
|
||||||
// Dsiplay Filename when uploading
|
// Dsiplay Filename when uploading
|
||||||
document.querySelector('.custom-file-input').addEventListener('change',function(e){
|
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
|
var nextSibling = e.target.nextElementSibling
|
||||||
nextSibling.innerText = fileName
|
nextSibling.innerText = fileName
|
||||||
})
|
})
|
Reference in a new issue