aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot_geotag.tpl
blob: b0f71e73bf1a21b558aa8946016cd06d9e0e3f98 (plain) (blame)
1
2
3
4
5
6
7
8
	if(navigator.geolocation) {
		navigator.geolocation.getCurrentPosition(function(position) {
			$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
			$('#profile-nolocation-wrapper').show();
		});
	}