From 959fc5fe72a689356ac7181181a00d454a130b93 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 20 Dec 2018 14:50:41 -0500 Subject: [PATCH] Interactive map category block now also loses 'open' class when 'Close' button is pressed --- js/leaflet-area-map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/leaflet-area-map.js b/js/leaflet-area-map.js index d4d8d620..3b7abdbe 100644 --- a/js/leaflet-area-map.js +++ b/js/leaflet-area-map.js @@ -45,7 +45,7 @@ var GlmMap = { }); // attach action to bottom of tab jQuery("#cat-main-close-" + category_id).click(function(){ - jQuery("#cat-main-" + category_id).slideUp(GlmMap._catDivSpeed); + jQuery("#cat-main-" + category_id).slideUp(GlmMap._catDivSpeed).parent().toggleClass("open"); }); }); jQuery("#memLocHdr").click(function (){ -- 2.17.1