Merge pull request #1 from Scarfmonster/master

Search navigation fix
pull/2/head
Michael Peter Christen 10 years ago
commit 3e338e0987

@ -146,10 +146,10 @@ show search results for "#[query]#" on map</a>
<script> <script>
function toggleVisibility(name, count) { function toggleVisibility(name, count) {
if (document.getElementById(name + "_0").style.display == "none") { if (document.getElementById(name + "_0").style.display == "none") {
for (i = 0; i < count; i++) document.getElementById(name + "_" + i).style="display:block"; for (i = 0; i < count; i++) document.getElementById(name + "_" + i).style.display="block";
document.getElementById("chevron-" + name).className = "glyphicon glyphicon-chevron-up"; document.getElementById("chevron-" + name).className = "glyphicon glyphicon-chevron-up";
} else { } else {
for (i = 0; i < count; i++) document.getElementById(name + "_" + i).style="display:none"; for (i = 0; i < count; i++) document.getElementById(name + "_" + i).style.display="none";
document.getElementById("chevron-" + name).className = "glyphicon glyphicon-chevron-down"; document.getElementById("chevron-" + name).className = "glyphicon glyphicon-chevron-down";
} }
} }

Loading…
Cancel
Save