From 6877c4132a6d320c2d0bb6e91fdd99a0792e0b04 Mon Sep 17 00:00:00 2001 From: FrostTheFox Date: Wed, 8 Feb 2017 15:47:11 -0500 Subject: [PATCH] [map.js] Better directions link for cross language compatibility --- static/js/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/map.js b/static/js/map.js index c711ee13e4..ce57548f9d 100644 --- a/static/js/map.js +++ b/static/js/map.js @@ -387,7 +387,7 @@ function getTypeSpan(type) { } function openMapDirections(lat, lng) { // eslint-disable-line no-unused-vars - var url = 'https://www.google.com/maps/dir/Current+Location/' + lat + ',' + lng + var url = 'https://www.google.com/maps/?daddr=' + lat + ',' + lng window.open(url, '_blank') }