From: Anthony Talarico Date: Mon, 8 Aug 2016 20:12:04 +0000 (-0400) Subject: adding cases in switch statement for campground loop variables, now accepts letters... X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e6617e55b0f87dfb55c1b10a6a82e0d1bb7522cb;p=WP-Themes%2Flaury%2Fnewbreakout.git adding cases in switch statement for campground loop variables, now accepts letters as well as digits for loop ID --- diff --git a/campground-map.php b/campground-map.php index f5a2f28..efa87ff 100644 --- a/campground-map.php +++ b/campground-map.php @@ -268,11 +268,25 @@ $js_categories = json_encode($categories); case '4': site_loop_alpha = 'E'; break; + case 'A': + site_loop_alpha = 'A'; + break; + case 'B': + site_loop_alpha = 'B'; + break; + case 'C': + site_loop_alpha = 'C'; + break; + case 'D': + site_loop_alpha = 'D'; + break; + case 'E': + site_loop_alpha = 'E'; + break; } } else { site_loop_alpha = "None"; } - if(site_meta[site]){ site_power = site_meta[site]['petosega_power']; site_power = site_power.join(); @@ -333,7 +347,7 @@ $js_categories = json_encode($categories); var pop_up_width = full_content_tool_tip.width() / 2; var pop_up_height = full_content_tool_tip.height() / 2; - console.debug(half); +// console.debug(half); jQuery(this).css("cursor", "pointer"); jQuery(tool_tip[0]).show();