Line 109: | Line 109: | ||
/* 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() <= 1300) { |
var x = document.getElementById("ddTeam"); | var x = document.getElementById("ddTeam"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { | ||
Line 120: | Line 120: | ||
function toggleDropdownProject() { | function toggleDropdownProject() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1300) { |
var x = document.getElementById("ddProject"); | var x = document.getElementById("ddProject"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { | ||
Line 131: | Line 131: | ||
function toggleDropdownHumanPractices() { | function toggleDropdownHumanPractices() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1300) { |
var x = document.getElementById("ddHumanPractices"); | var x = document.getElementById("ddHumanPractices"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { | ||
Line 142: | Line 142: | ||
function toggleDropdownNotebook() { | function toggleDropdownNotebook() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1300) { |
var x = document.getElementById("ddNotebook"); | var x = document.getElementById("ddNotebook"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { | ||
Line 153: | Line 153: | ||
function toggleDropdownParts() { | function toggleDropdownParts() { | ||
− | if ($(window).width() <= | + | if ($(window).width() <= 1300) { |
var x = document.getElementById("ddParts"); | var x = document.getElementById("ddParts"); | ||
if (x.className === "dropdown-content") { | if (x.className === "dropdown-content") { |
Revision as of 19:30, 26 September 2018