From ae0db5fa43d87392d0dc1ee57b36fd2e0d2137c4 Mon Sep 17 00:00:00 2001 From: Ghislain Loaec Date: Tue, 8 Dec 2015 09:56:28 +0100 Subject: [PATCH] 2G network considered offline --- www/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/index.js b/www/js/index.js index 700a7df..e08de1d 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -212,12 +212,12 @@ var app = { case Connection.WIFI: case Connection.CELL_4G: case Connection.CELL_3G: - case Connection.CELL_2G: app.online = true; if(typeof resolve === "function"){ resolve(); } break; + case Connection.CELL_2G: case Connection.NONE: case Connection.UNKNOWN: default: