From 0395540e7c426268063f7ed4541aec244ec4fdee Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 20 Jul 2016 10:28:04 -0400 Subject: [PATCH] Fix on previous commit, hadn't enclosed element in double quotes --- mobile-map.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mobile-map.php b/mobile-map.php index 25d110a..4ce0172 100644 --- a/mobile-map.php +++ b/mobile-map.php @@ -210,12 +210,14 @@ $js_categories = json_encode($categories); // close pop up div when clicking anywhere but that div jQuery(document).mouseup(function (e) { - var container = $(.mobile-map-site-details); + var container = jQuery(".mobile-map-site-details"); if (!container.is(e.target) // if the target of the click isn't the container... && container.has(e.target).length === 0) // ... nor a descendant of the container { - container.hide(); + container.slideToggle("slow", function () { + + }); } }); -- 2.17.1