mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 12:10:48 +00:00
Fix
This commit is contained in:
@@ -59,7 +59,7 @@ document.getElementById('bacino').addEventListener('change', function(event) {
|
|||||||
const resultsContainer = document.getElementById('searchResults');
|
const resultsContainer = document.getElementById('searchResults');
|
||||||
resultsContainer.innerHTML = '<p>Caricamento lista fermate in corso...</p>';
|
resultsContainer.innerHTML = '<p>Caricamento lista fermate in corso...</p>';
|
||||||
|
|
||||||
fetch(`https://startapi.serverissimo.freeddns.org/start-fermatebus/bacino?selectedOption=${selectedOption}`)
|
fetch(`https://startapi.serverissimo.freeddns.org/bacino?selectedOption=${selectedOption}`)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
allOptions = data;
|
allOptions = data;
|
||||||
|
Reference in New Issue
Block a user