aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/app.js')
-rw-r--r--src/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/app.js b/src/js/app.js
index 457bc3b..af02b0a 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -66,6 +66,8 @@ var tpl = {
if ( navigator && navigator.connection && ( navigator.connection.type == Connection.NONE ||
navigator.connection.type == Connection.UNKNOWN ) ) {
FMS.offline();
+ } else {
+ FMS.online();
}
},