diff --git a/start_menu/servizi/start-fermatebus/css/style.css b/start_menu/servizi/start-fermatebus/css/style.css index 6799b4b..a8176d6 100644 --- a/start_menu/servizi/start-fermatebus/css/style.css +++ b/start_menu/servizi/start-fermatebus/css/style.css @@ -115,7 +115,8 @@ a { } footer { - position: fixed; - bottom: 0px; + position: relative; + bottom: 0; + left: 0; width: 100%; } \ No newline at end of file diff --git a/start_menu/servizi/start-fermatebus/index.html b/start_menu/servizi/start-fermatebus/index.html index 3ddebb5..95c00fe 100644 --- a/start_menu/servizi/start-fermatebus/index.html +++ b/start_menu/servizi/start-fermatebus/index.html @@ -33,8 +33,9 @@
diff --git a/start_menu/servizi/start-fermatebus/js/cercafermata.js b/start_menu/servizi/start-fermatebus/js/cercafermata.js index 5711cf1..1960257 100644 --- a/start_menu/servizi/start-fermatebus/js/cercafermata.js +++ b/start_menu/servizi/start-fermatebus/js/cercafermata.js @@ -19,7 +19,7 @@ function populateSearchResults(results, selectedOption) { div.addEventListener('click', () => { const url = `fermata.html?palina=${encodeURIComponent(item.palina)}&targetID=${encodeURIComponent(item.targetID)}&selectedOption=${encodeURIComponent(selectedOption)}`; - window.location.href = url; + window.open(url, '_blank'); }); searchResultsContainer.appendChild(div);