aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/around.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index e2a0d32..c2047d8 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -54,6 +54,7 @@
this.displayButtons(true);
this.setReportPosition({ lat: this.model.get('lat'), lon: this.model.get('lon') }, true);
this.listenTo(FMS.locator, 'gps_current_position', this.positionUpdate);
+ FMS.locator.trackPosition();
} else if ( FMS.currentPosition ) {
var info = { coordinates: FMS.currentPosition };
FMS.currentPosition = null;
@@ -62,6 +63,7 @@
}
this.displayButtons(false);
this.listenTo(FMS.locator, 'gps_current_position', this.positionUpdate);
+ FMS.locator.trackPosition();
} else {
this.locate();
this.displayButtons(false);