# HG changeset patch # User Kai T. Ohlhus # Date 1475092297 -7200 # Node ID 40cbddf42ce4484580e95012be41c325434053c9 # Parent 1810308dba494776e07460ec15dc6b5b18ed5d2f Repair download tabs. diff -r 1810308dba49 -r 40cbddf42ce4 _includes/footer.html --- a/_includes/footer.html Wed Sep 28 11:30:27 2016 +0200 +++ b/_includes/footer.html Wed Sep 28 21:51:37 2016 +0200 @@ -13,4 +13,18 @@ x.className = "topnav"; } } + +function openCity(evt, cityName) { + var i, tabcontent, tablinks; + tabcontent = document.getElementsByClassName("tabcontent"); + for (i = 0; i < tabcontent.length; i++) { + tabcontent[i].style.display = "none"; + } + tablinks = document.getElementsByClassName("tablinks"); + for (i = 0; i < tablinks.length; i++) { + tablinks[i].className = tablinks[i].className.replace(" active", ""); + } + document.getElementById(cityName).style.display = "block"; + evt.currentTarget.className += " active"; +} diff -r 1810308dba49 -r 40cbddf42ce4 _includes/install.html --- a/_includes/install.html Wed Sep 28 11:30:27 2016 +0200 +++ b/_includes/install.html Wed Sep 28 21:51:37 2016 +0200 @@ -1,12 +1,24 @@ -