]> git.mxchange.org Git - friendica.git/blobdiff - view/jot_geotag.tpl
fix geolocation
[friendica.git] / view / jot_geotag.tpl
index 4145c3111eca76b9ea7338403e5f3f9340189754..b0f71e73bf1a21b558aa8946016cd06d9e0e3f98 100644 (file)
@@ -1,7 +1,7 @@
 
        if(navigator.geolocation) {
                navigator.geolocation.getCurrentPosition(function(position) {
-                       $('#jot-coord').val(position.coords.latitude + position.coords.longitude);
+                       $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
                        $('#profile-nolocation-wrapper').show();
                });
        }