mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 12:10:48 +00:00
Temp fix
This commit is contained in:
@@ -71,7 +71,7 @@ document.getElementById('bacino').addEventListener('change', function(event) {
|
|||||||
const selectedOption = event.target.value;
|
const selectedOption = event.target.value;
|
||||||
currentSelectedOption = selectedOption;
|
currentSelectedOption = selectedOption;
|
||||||
|
|
||||||
const radiobuttons = document.getElementById('radios');
|
//const radiobuttons = document.getElementById('radios');
|
||||||
const ricerca = document.getElementById('ricerca');
|
const ricerca = document.getElementById('ricerca');
|
||||||
ricerca.removeAttribute('style');
|
ricerca.removeAttribute('style');
|
||||||
|
|
||||||
@@ -79,14 +79,14 @@ document.getElementById('bacino').addEventListener('change', function(event) {
|
|||||||
|
|
||||||
if(selectedOption == "n"){
|
if(selectedOption == "n"){
|
||||||
ricerca.setAttribute("style", "display: none;");
|
ricerca.setAttribute("style", "display: none;");
|
||||||
radiobuttons.setAttribute("style", "display: none;");
|
//radiobuttons.setAttribute("style", "display: none;");
|
||||||
allOptions = [];
|
allOptions = [];
|
||||||
document.getElementById('searchResults').innerHTML = '';
|
document.getElementById('searchResults').innerHTML = '';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if(selectedOption == "ra"){
|
/*else if(selectedOption == "ra"){
|
||||||
radiobuttons.removeAttribute('style')
|
radiobuttons.removeAttribute('style')
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if(selectedOption != "n"){
|
if(selectedOption != "n"){
|
||||||
const resultsContainer = document.getElementById('searchResults');
|
const resultsContainer = document.getElementById('searchResults');
|
||||||
|
Reference in New Issue
Block a user