From: Laury GvR Date: Wed, 20 Jul 2016 14:28:04 +0000 (-0400) Subject: Fix on previous commit, hadn't enclosed element in double quotes X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0395540e7c426268063f7ed4541aec244ec4fdee;p=WP-Themes%2Flaury%2Fnewbreakout.git Fix on previous commit, hadn't enclosed element in double quotes --- 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 () { + + }); } });