summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-09 17:04:25 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-09 17:04:25 -0400
commit42537efa2f6d17db89a4b708ded2f16cedf6c2a8 (patch)
tree07662335586281a4df7b3b4f17c10094c01b9512 /www/js
parentb2c25c351e17ffdca9d26e1b8396c911db14db20 (diff)
#321 - tweak for desktop
Former-commit-id: 3e46611a3b3fd26372bfbf8d008deea001790e7f
Diffstat (limited to 'www/js')
-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)