Fix scripts on bottom of the page
This commit is contained in:
parent
38515febef
commit
bf1b2d52e8
1 changed files with 2 additions and 4 deletions
|
@ -91,13 +91,12 @@
|
|||
|
||||
<script>
|
||||
function closePopup() {
|
||||
var popup = document.getElementById("popup");
|
||||
const popup = document.getElementById("popup");
|
||||
popup.style.display = "none";
|
||||
}
|
||||
// Popup si chiude automaticamente dopo 13 secondi
|
||||
setTimeout(closePopup, 13000);
|
||||
</script>
|
||||
<script>
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
// Add a click event listener to the button
|
||||
const gpsButton = document.getElementById("gps-button");
|
||||
|
@ -113,5 +112,4 @@
|
|||
<script src="./js/dist/L.Control.Locate.min.js"></script>
|
||||
<script type="module" type="text/javascript" src="/js/map.js"></script>
|
||||
</body>
|
||||
<footer></footer>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue