2013-01-11 17:57:11 +01:00
|
|
|
{{*
|
|
|
|
* AUTOMATICALLY GENERATED TEMPLATE
|
|
|
|
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
|
|
*
|
|
|
|
*}}
|
2012-12-22 20:57:29 +01:00
|
|
|
if(navigator.geolocation) {
|
|
|
|
navigator.geolocation.getCurrentPosition(function(position) {
|
|
|
|
var lat = position.coords.latitude.toFixed(4);
|
|
|
|
var lon = position.coords.longitude.toFixed(4);
|
|
|
|
|
|
|
|
$j('#jot-coord').val(lat + ', ' + lon);
|
|
|
|
$j('#profile-nolocation-wrapper').show();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|