calendarwatch_frontend/server/static/js/index.js

10 lines
304 B
JavaScript

/* Toggle between adding and removing the "responsive" class to navigation when the user clicks on the icon */
function menuBars() {
var x = document.getElementById("navigation");
if (x.className === "navigation") {
x.className += " responsive";
} else {
x.className = "navigation";
}
}