diff options
author | Struan Donald <struan@exo.org.uk> | 2013-07-19 16:37:04 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-07-19 16:37:04 +0100 |
commit | 6f327c25ed2906fc7a8571460927004ea869ba89 (patch) | |
tree | c81cd7264c96a3e774c3c78f8f3f442d3f992d98 /src | |
parent | 0928b917367850f269197369b7e0d5ada0f01650 (diff) |
hide locating screen before changing to offline screen as otherwise you get a strange reduced suxe locating screen on transition
Diffstat (limited to 'src')
-rw-r--r-- | src/js/views/around.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js index 5db5bb3..3e549e2 100644 --- a/src/js/views/around.js +++ b/src/js/views/around.js @@ -47,6 +47,7 @@ afterDisplay: function() { if ( FMS.isOffline ) { + $('#locating').hide(); this.navigate( 'offline' ); } else if ( this.model && this.model.get('lat') ) { var modelInfo = { coordinates: { latitude: this.model.get('lat'), longitude: this.model.get('lon') } }; |