projects
/
WP-Plugins
/
glm-member-db-apis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c46974
)
Add for the dev53 site to use map links
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 24 Mar 2017 15:52:38 +0000
(11:52 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 24 Mar 2017 15:52:38 +0000
(11:52 -0400)
Bring in the google map click event for dev53 site.
views/front/apis/schedule.html
patch
|
blob
|
history
diff --git
a/views/front/apis/schedule.html
b/views/front/apis/schedule.html
index
5bf63df
..
538be5b
100644
(file)
--- 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");