17 lines
397 B
JavaScript
Raw Normal View History

2024-01-11 17:42:25 +01:00
$(document).ready(function(){
$('.navbar-nav a').on('click', function(){
$('.navbar-collapse').collapse('hide');
});
});
document
.querySelector(".custom-file-input")
.addEventListener("change", function (e) {
var fileName = document.getElementById("fw-update-file").files[0].name;
var nextSibling = e.target.nextElementSibling;
nextSibling.innerText = fileName;
});