summaryrefslogtreecommitdiffstats
path: root/theme/list_lib.js
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-17 12:38:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-17 12:38:24 -0700
commitb345db0a647d4bdecd378a9f953c6df3aa0c1b74 (patch)
tree438db04ca7a020b301b6930428be8280132c63ef /theme/list_lib.js
parent243a9e58405005c6503701a987d2b12eb4041403 (diff)
downloadsubsurface-b345db0a647d4bdecd378a9f953c6df3aa0c1b74.tar.gz
HTML export: better Google maps link
This way we get an actual place marker Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r--theme/list_lib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index eb26b1eaa..afaa77ad0 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -943,7 +943,7 @@ function getDiveCoor(dive)
{
if (!dive.coordinates)
return "";
- return '<td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Coordinates + ': </td><td>' + '<a href="http://www.google.com/maps/@' + dive.coordinates.lat + ',' + dive.coordinates.lon + ',13z" target="_blank">' + getDiveCoorString(dive.coordinates) + '</a></td>';
+ return '<td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Coordinates + ': </td><td>' + '<a href="http://maps.google.com/maps?q=loc:' + dive.coordinates.lat + ',' + dive.coordinates.lon + '" target="_blank">' + getDiveCoorString(dive.coordinates) + '</a></td>';
}
/**