diff options
-rw-r--r-- | src/js/views/home.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/views/home.js b/src/js/views/home.js index 998af1c..884d87e 100644 --- a/src/js/views/home.js +++ b/src/js/views/home.js @@ -26,6 +26,8 @@ $('#load-screen').hide(); if ( FMS.isOffline ) { this.navigate( 'offline' ); + } else if ( navigator && navigator.connection && navigator.connection.type == Connection.CELL ) { + this.navigate( 'offline' ); } else if ( FMS.currentDraft && ( FMS.currentDraft.get('title') || FMS.currentDraft.get('lat') || FMS.currentDraft.get('details') || FMS.currentDraft.get('file') ) |