Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Leaflet based maps now respect current language

  • Loading branch information...
commit e84f3cd1c6f87e6cf00ce9e6d83d250844c4ccae 1 parent ae9606e
Yuvi Panda yuvipanda authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  assets/www/js/geo.js
2  assets/www/js/geo.js
@@ -20,7 +20,7 @@ function getCurrentPosition() {
20 20 geomap.setView(new L.LatLng(lat, lon), 13);
21 21 var ping = function() {
22 22 var pos = geomap.getCenter();
23   - geoLookup(pos.lat, pos.lng, 'en', function(data) {
  23 + geoLookup(pos.lat, pos.lng, preferencesDB.get("language"), function(data) {
24 24 geoAddMarkers(data);
25 25 }, function(err) {
26 26 alert(err);

0 comments on commit e84f3cd

Please sign in to comment.
Something went wrong with that request. Please try again.