summaryrefslogtreecommitdiff
path: root/public/static/geolocation.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/static/geolocation.js')
-rw-r--r--public/static/geolocation.js6
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);
});
}