Skip to content

Commit f36e0b3

Browse files
authored
Merge pull request #235 from projecthorus/testing
jump to user location
2 parents dd4500d + e296912 commit f36e0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ $(window).ready(function() {
860860
// open map
861861
$('.nav .home').click();
862862
// pan map to our current location
863-
map.flyTo(new L.LatLng(currentPosition.lat, currentPosition.lon));
863+
map.panTo(new L.LatLng(currentPosition.lat, currentPosition.lon));
864864
} else {
865865
alert("No position available");
866866
}

0 commit comments

Comments
 (0)