My whole JS file works except this piece of code:
//Accordion
jQuery('#accordion').find('.accordion-toggle').click(function () {
console.log(jQuery("#accordion").find(".accordion-toggle"))
//Expand or collapse this panel
jQuery(this).next().slideToggle('fast');
});
If I put this in the browser console it works fine.