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

m
m
Line 9: Line 9:
 
var dropLinks = document.getElementsByClassName("drop-link"); // gets all of the expandable nav sections for the same reason
 
var dropLinks = document.getElementsByClassName("drop-link"); // gets all of the expandable nav sections for the same reason
 
var navItems = document.getElementsByClassName("nav-item"); // gets all of the nav-items
 
var navItems = document.getElementsByClassName("nav-item"); // gets all of the nav-items
varFoodItems = document.getElementsByClassName("food-item-inner");
+
var foodItems = document.getElementsByClassName("food-item-inner");
  
 
function openNav() {
 
function openNav() {

Revision as of 14:42, 19 June 2020