update new offer form
This commit is contained in:
parent
eaebcaad57
commit
75142b9347
2 changed files with 16 additions and 2 deletions
|
@ -18,4 +18,11 @@ import '@fortawesome/fontawesome-free/js/regular'
|
|||
import '@fortawesome/fontawesome-free/js/brands'
|
||||
|
||||
// Friendly captcha
|
||||
import "friendly-challenge/widget";
|
||||
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 nextSibling = e.target.nextElementSibling
|
||||
nextSibling.innerText = fileName
|
||||
})
|
Reference in a new issue