diff options
-rw-r--r-- | www/js/views/around.js | 4 |
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); |