From 12ad7f6512e30136f1deffe2cbc64b8fc0dcbd9c Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 12 Jul 2016 16:57:41 -0400 Subject: [PATCH] removed tents from display --- campground-map.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/campground-map.php b/campground-map.php index 204852b..ea1d517 100644 --- a/campground-map.php +++ b/campground-map.php @@ -267,13 +267,13 @@ $js_categories = json_encode($categories); } } - if(site_meta[site]){ - site_tents = site_meta[site]['petosega_tents']; -site_tents = site_tents.join(); - if( site_tents === ""){ - site_tents = "No"; - } - } +// if(site_meta[site]){ +// site_tents = site_meta[site]['petosega_tents']; +//site_tents = site_tents.join(); +// if( site_tents === ""){ +// site_tents = "No"; +// } +// } temp = site_campers[site]; for(var i in temp){ campers.push(temp[i].name); @@ -318,7 +318,7 @@ site_tents = site_tents.join(); jQuery(".full-content-tool-tip").find(".full-site-power").html("Power: " + site_power); jQuery(".full-content-tool-tip").find(".full-site-sewer").html("Sewer: " + site_sewer); jQuery(".full-content-tool-tip").find(".full-site-water").html("Water: " + site_water); - jQuery(".full-content-tool-tip").find(".full-site-tents").html("Tents: " + site_tents); +// jQuery(".full-content-tool-tip").find(".full-site-tents").html("Tents: " + site_tents); jQuery(".full-content-tool-tip").find(".full-site-campers").html("Campers: " + campers); } -- 2.17.1