Skip to content

Instantly share code, notes, and snippets.

@matdave
matdave / gist:32502ea68e43c3201e8c
Last active August 29, 2015 14:17
nps menu expand
$(document).ready(function() {
$(".btn").click(function() {
if(!$(this).hasClass('close-schools')){
$( ".school-list" ).addClass("expanded");
$(this).addClass("close-schools");
}else{
$(this).removeClass("close-schools");
$(".school-list").removeClass("expanded");
}
});