Line 88: | Line 88: | ||
/* Toggle between adding and removing the "show" class to dropdown when the user clicks on the icon */ | /* Toggle between adding and removing the "show" class to dropdown when the user clicks on the icon */ | ||
function toggleDropdownTeam() { | function toggleDropdownTeam() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1010) { |
var x = document.getElementById("ddTeam"); | var x = document.getElementById("ddTeam"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { | ||
Line 99: | Line 99: | ||
function toggleDropdownProject() { | function toggleDropdownProject() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1010) { |
var x = document.getElementById("ddProject"); | var x = document.getElementById("ddProject"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { | ||
Line 110: | Line 110: | ||
function toggleDropdownHumanPractices() { | function toggleDropdownHumanPractices() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1010) { |
var x = document.getElementById("ddHumanPractices"); | var x = document.getElementById("ddHumanPractices"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { | ||
Line 121: | Line 121: | ||
function toggleDropdownParts() { | function toggleDropdownParts() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1010) { |
var x = document.getElementById("ddParts"); | var x = document.getElementById("ddParts"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { |
Revision as of 01:47, 24 July 2018