diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-05-16 12:29:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-05-16 12:29:21 +0200 |
commit | 6b6594727903250f86c8e8b330cb13a3f44a6625 (patch) | |
tree | 078d0bfaeff4e9235aedc4421bc9a1847aefb3e1 /public/static/geolocation.js | |
parent | df39c4af6ce209e58075b7e41cc1bf11b5c85c97 (diff) |
Böhhh! Crystal Design, alter!
Diffstat (limited to 'public/static/geolocation.js')
-rw-r--r-- | public/static/geolocation.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/static/geolocation.js b/public/static/geolocation.js index f571762..63b42b8 100644 --- a/public/static/geolocation.js +++ b/public/static/geolocation.js @@ -34,6 +34,12 @@ $(document).ready(function() { var stationlink = $(document.createElement('a')); stationlink.attr('href', ds100); stationlink.text(name); + + var distancenode = $(document.createElement('div')); + distancenode.attr('class', 'distance'); + distancenode.text(distance); + + stationlink.append(distancenode); $('div.candidatelist').append(stationlink); }); } |