diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 17:04:16 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 17:04:16 -0700 |
commit | 9f5207fc0dbef71839438e02426e481d06c2c03c (patch) | |
tree | 23eca5f1f0b99fccc4a8feca7e9840ade493f343 /theme/list_lib.js | |
parent | b052d6378901afcadb69e7c0c05493a0e6a7c0a3 (diff) | |
download | subsurface-9f5207fc0dbef71839438e02426e481d06c2c03c.tar.gz |
HTML exports: minor cosmetic improvements
This brings up the satellite view when clicking on GPS coordinates and
sets a slightly better page title.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r-- | theme/list_lib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js index b6982543d..481085049 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -961,7 +961,7 @@ function getDiveCoor(dive) { if (!dive.coordinates) return ""; - return '<td class="words"> ' + 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>'; + return '<td class="words"> ' + translate.Coordinates + ': </td><td>' + '<a href="http://maps.google.com/maps?t=k&q=loc:' + dive.coordinates.lat + ',' + dive.coordinates.lon + '" target="_blank">' + getDiveCoorString(dive.coordinates) + '</a></td>'; } /** |