Difference between revisions of "Template:Northeastern Boston/Javascript"
Line 23: | Line 23: | ||
var arrow = $(this).find('.nav-container__arrow')[0]; | var arrow = $(this).find('.nav-container__arrow')[0]; | ||
− | + | $(arrow).toggleClass('flip-vertical'); | |
+ | }); | ||
+ | |||
+ | $('.minimal-dropdown__arrow').on("click", function() { | ||
+ | $(this).toggleClass('flip-vertical'); | ||
+ | $(this).parent().parent().find('.minimal-dropdown__content').toggleClass('hidden'); | ||
}); | }); | ||
}); | }); | ||
+ | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 00:36, 18 September 2015