Difference between revisions of "Template:Queens Canada/Scripts"

m
m
Line 169: Line 169:
 
//I know this is lowkey inefficient but it works for now lol  
 
//I know this is lowkey inefficient but it works for now lol  
 
function overlayOn(){
 
function overlayOn(){
   var team = document.querySelectorAll('overlay');
+
   var team = document.querySelectorAll('.overlay');
 
   for (i = 0; i < person.length; i++){
 
   for (i = 0; i < person.length; i++){
 
       team[i].style.display = "block"   
 
       team[i].style.display = "block"   

Revision as of 19:38, 19 July 2020