Difference between revisions of "Template:Northeastern Boston/Javascript"
Line 27: | Line 27: | ||
$('.minimal-dropdown__arrow').on("click", function() { | $('.minimal-dropdown__arrow').on("click", function() { | ||
− | $(this).toggleClass(' | + | $(this).toggleClass('fa-flipped-arrow'); |
$(this).parent().parent().find('.minimal-dropdown__content').toggleClass('hidden'); | $(this).parent().parent().find('.minimal-dropdown__content').toggleClass('hidden'); | ||
}); | }); | ||
}); | }); | ||
+ | |||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 00:46, 18 September 2015