Fix on previous commit, hadn't enclosed element in double quotes
authorLaury GvR <laury@gaslightmedia.com>
Wed, 20 Jul 2016 14:28:04 +0000 (10:28 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 20 Jul 2016 14:28:04 +0000 (10:28 -0400)
mobile-map.php

index 25d110a..4ce0172 100644 (file)
@@ -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  () {
+
+            });
         }
     });