diff --git a/index.html b/index.html index 5a87ce1..c88068b 100644 --- a/index.html +++ b/index.html @@ -260,7 +260,7 @@

Congratuations! Judge scores are tallied and here's where we announce the 1st, 2nd, and 3rd place teams along with constructive feedback for each in the Community Room.

diff --git a/js/general.js b/js/general.js index 2143340..22bc962 100644 --- a/js/general.js +++ b/js/general.js @@ -10,9 +10,11 @@ document.addEventListener('DOMContentLoaded', function(){ } } - var tech = document.getElementById("email-replace-tech"); - setAttributes(tech, {"href": "mailto:tech" + "@" + "gilroyhacks.com?subject=Gilroy Hacks", "target": "_blank"}); - tech.innerHTML = "tech" + "@" + "gilroyhacks.com"; + const tech_emails = document.querySelectorAll('.email-replace-tech'); + tech_emails.forEach(entry => { + setAttributes(entry, {"href": "mailto:tech" + "@" + "gilroyhacks.com?subject=Gilroy Hacks", "target": "_blank"}); + entry.innerHTML = "tech" + "@" + "gilroyhacks.com"; + }); var aadhavan = document.getElementById("email-replace-aadhavan"); setAttributes(aadhavan, {"href": "mailto:aadhavan.magesh" + "@" + "gmail.com?subject=Gilroy Hacks", "target": "_blank"});