Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 lines
289 B

var e=document.querySelector(".navbar-toggler"),t=document.querySelector(".navbar-collapse");e.onclick=function(){"false"==e.getAttribute("aria-expanded")?(t.classList.remove("collapse"),e.setAttribute("aria-expanded",!0)):(e.setAttribute("aria-expanded",!1),t.classList.add("collapse"))};