aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/around.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r--www/js/views/around.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 759de9f..b9b7fc7 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -17,9 +17,9 @@
afterDisplay: function() {
if ( FMS.isOffline ) {
this.navigate( 'offline' );
- } else if ( FMS.currentLocation ) {
- var info = { coordinates: FMS.currentLocation };
- FMS.currentLocation = null;
+ } else if ( FMS.currentPosition ) {
+ var info = { coordinates: FMS.currentPosition };
+ FMS.currentPosition = null;
this.gotLocation(info);
} else if ( this.model && this.model.get('lat') ) {
var modelInfo = { coordinates: { latitude: this.model.get('lat'), longitude: this.model.get('lon') } };