$(document).ready(function(){for(var t=document.getElementsByClassName("footer-accordion"),n=0;n<t.length;n++)t[n].onclick=function(){$(window).width()<=870&&(this.classList.toggle("active"),this.nextElementSibling.classList.toggle("show"))}})