From 7ed4e679c0e70060437ce4833902d4c828fa9b87 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 29 Aug 2018 16:42:04 -0400 Subject: [PATCH] cleaning up the map file of spaces --- parts/benzie-map.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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"); } ); -- 2.17.1