aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/around.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 67983db..f1fb175 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -88,10 +88,11 @@
if ( !fixmystreet.map ) {
return;
}
+
// if there isn't a currentPosition then something
// is up so we probably should not recenter
if ( FMS.currentPosition ) {
- fixmystreet.map.panTo(FMS.currentPosition);
+ fixmystreet.map.panTo(this.projectCoords( FMS.currentPosition ));
}
},