Unverified Commit e93e38fe authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

geolocation: correctly pass backend

parent 94f55801
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	};