From: Anthony Talarico Date: Wed, 29 Aug 2018 20:42:04 +0000 (-0400) Subject: cleaning up the map file of spaces X-Git-Tag: v1.0.30^2~10 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=7ed4e679c0e70060437ce4833902d4c828fa9b87;p=WP-Themes%2Fvisitbenzie.git cleaning up the map file of spaces --- diff --git a/parts/benzie-map.php b/parts/benzie-map.php index 387510d..e393f93 100644 --- a/parts/benzie-map.php +++ b/parts/benzie-map.php @@ -79,11 +79,9 @@ $js_sites = json_encode($sites); } catch(e){ console.log("This page doesn't exist or it has the wrong id in the pages array"); } - }, function(){ - $(`[data-town='${id}']`).toggleClass("base-fill"); - + $(`[data-town='${id}']`).toggleClass("base-fill"); } );