removed test log statements
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Aug 2016 20:11:09 +0000 (16:11 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Aug 2016 20:11:09 +0000 (16:11 -0400)
parts/community-map.php

index a1455f6..20e2ab3 100644 (file)
@@ -7,9 +7,9 @@
                  <?php hm_get_template_part( 'parts/community-map-svg', [ 'community_map_caller' => 'dropdown' ] ); ?>
             </div>
             <div id="mapRegionData">
-              <!-- 155 -->
-            <?php $community_page_object = get_page( 1365 ); ?>
-            <?php  $community_page_image = wp_get_attachment_url( get_post_thumbnail_id( 1365 )); ?>
+              <!-- default page id = 155 -->
+            <?php $community_page_object = get_page( 155 ); ?>
+            <?php  $community_page_image = wp_get_attachment_url( get_post_thumbnail_id( 155 )); ?>
 
             <?php $community_page_content = substr(strip_tags($community_page_object->post_content),0, 300) . "..."; ?>
             <?php $community_page_content = json_encode(strip_shortcodes($community_page_content)); ?>
@@ -95,7 +95,6 @@ foreach ($nav_posts as $p){
         });
         $(community_link).find(".dropdown").mouseleave( function () {
             set_default_data();
-            console.log("leave");
         });
 
         // hover effects and data collection