14 lines
334 B
Smarty
14 lines
334 B
Smarty
|
{{*
|
||
|
* AUTOMATICALLY GENERATED TEMPLATE
|
||
|
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||
|
*
|
||
|
*}}
|
||
|
|
||
|
if(navigator.geolocation) {
|
||
|
navigator.geolocation.getCurrentPosition(function(position) {
|
||
|
$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
|
||
|
$('#profile-nolocation-wrapper').show();
|
||
|
});
|
||
|
}
|
||
|
|