summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/DataModel.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index ee69b09c..c5649b93 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -1110,7 +1110,12 @@ angular.module('zmApp.controllers')
{
return "lowbw";
}
+ if (loginData.enableLowBandwidth == true && loginData.autoSwitchBandwidth == true && $rootScope.platformOS == 'desktop')
+ {
+ return "highbw";
+ }
// else return real state
+
var networkState = navigator.connection.type;
var strState;
switch (networkState)