From 69b590149d35ef90ac591c2c0844c53a29117594 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 7 Dec 2018 14:17:05 -0500 Subject: [PATCH] Remove duplicate initMap() function call from front list view file --- views/front/members/list.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/views/front/members/list.html b/views/front/members/list.html index f0fedf91..65857cf8 100755 --- a/views/front/members/list.html +++ b/views/front/members/list.html @@ -574,6 +574,8 @@ function initMap() { + console.log("e - "); + var leafletMap = L.map('LeafletMapContainer', { gestureHandling: true }); @@ -650,7 +652,7 @@ leafletMap.panTo(leafletMap.unproject(px),{ animate: true }); }); - + console.log("r - "); } {/if} @@ -792,12 +794,11 @@ } }); {if $view != 'no-map'} - {if $settings.list_map_show_opened } + {if $settings.list_map_show_opened || $view == 'map'} // Start with map opened initMap(); mapInitialized = true; {/if} - initMap(); {/if} // Processes click-through counts for website links -- 2.17.1