aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/around.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 162d69d..759de9f 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -15,7 +15,9 @@
},
afterDisplay: function() {
- if ( FMS.currentLocation ) {
+ if ( FMS.isOffline ) {
+ this.navigate( 'offline' );
+ } else if ( FMS.currentLocation ) {
var info = { coordinates: FMS.currentLocation };
FMS.currentLocation = null;
this.gotLocation(info);