Skip to content
Snippets Groups Projects
Unverified Commit e93e38fe authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

geolocation: correctly pass backend

parent 94f55801
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ $(document).ready(function() {
};
const processLocation = function(loc) {
const backend = $('div.geolocation > button').data('backend');
const backend = $('div.geolocation').data('backend');
$.post('/geolocation', {lon: loc.coords.longitude, lat: loc.coords.latitude, backend: backend}, processResult);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment