From: Steve Sutton Date: Fri, 24 Mar 2017 15:52:38 +0000 (-0400) Subject: Add for the dev53 site to use map links X-Git-Tag: v1.0.0^2~5 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=affd028b47028b7d83ebcb58a36b92df113f07c7;p=WP-Plugins%2Fglm-member-db-apis.git Add for the dev53 site to use map links Bring in the google map click event for dev53 site. --- diff --git a/views/front/apis/schedule.html b/views/front/apis/schedule.html index 5bf63df..538be5b 100644 --- a/views/front/apis/schedule.html +++ b/views/front/apis/schedule.html @@ -14,6 +14,11 @@ } {/if} jQuery(document).ready(function(){ + $("a.google-map-link").click(function(e){ + e.preventDefault(); + var address = $(this).data('location'); + window.open('https://maps.google.com/?q=' + address, '_blank'); + }); {if $inDropDown} // For the drop down docks schedules var dropdown_dockForm = $("#dockForm");