diff options
author | schuster-rainer <rainerschuster79@gmail.com> | 2017-03-08 22:58:10 +0300 |
---|---|---|
committer | Adrián Moreno <adrian@morenomartinez.com> | 2017-03-09 14:29:04 +0300 |
commit | 11017225978ca378b1d8177049fb885685e946ad (patch) | |
tree | ea9150c6f239652d89a75420cc8d77e90284c890 /static | |
parent | 3943a0fbb9a665b0f6d8b71cb3cac11ac44ac0c7 (diff) |
Added description to README for direction
Diffstat (limited to 'static')
-rw-r--r-- | static/js/gmaps.init.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/js/gmaps.init.js b/static/js/gmaps.init.js index 4790ee9..de77e63 100644 --- a/static/js/gmaps.init.js +++ b/static/js/gmaps.init.js @@ -56,12 +56,12 @@ function map () { lat: lat, lng: lng, icon: image, - click: function(e) { + click: function (e) { // when we get an address with spaces ... - url = "https://maps.google.com?daddr=" + direction.split("match").join("replace"); - window.open(url,'_blank'); + var url = 'https://maps.google.com?daddr=' + direction.split('match').join('replace') + window.open(url, '_blank') }, - title: direction, + title: direction /* , infoWindow: { content: '<p>HTML Content</p>' |