aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot_geotag.tpl
blob: 4145c3111eca76b9ea7338403e5f3f9340189754 (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();
		});
	}