diff options
Diffstat (limited to 'media/js/main.js')
| -rw-r--r-- | media/js/main.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/media/js/main.js b/media/js/main.js index ff2a87ff..0661c065 100644 --- a/media/js/main.js +++ b/media/js/main.js @@ -79,13 +79,13 @@ function copyScript(trigger, elem) { * families on the Download page */ function showDistros(btn, osDiv) { - // Disable everything - document.getElementById('btn-download-bsd').style.background = '#ffffff'; - document.getElementById('download-subnav-bsd').style.display = 'none'; - document.getElementById('btn-download-linux').style.background = '#ffffff'; - document.getElementById('download-subnav-linux').style.display = 'none'; + // Disable everything + document.getElementById('btn-download-bsd').style.background = '#ffffff'; + document.getElementById('download-subnav-bsd').style.display = 'none'; + document.getElementById('btn-download-linux').style.background = '#ffffff'; + document.getElementById('download-subnav-linux').style.display = 'none'; - // Enable the one we want - btn.style.background='#e7eae8'; - document.getElementById(osDiv).style.display = 'block'; + // Enable the one we want + btn.style.background='#e7eae8'; + document.getElementById(osDiv).style.display = 'block'; } |
