diff --git a/static/js/client.js b/static/js/client.js index aea0eee9e04..6ccec1b2839 100644 --- a/static/js/client.js +++ b/static/js/client.js @@ -259,9 +259,9 @@ var focusPoint = nowData[nowData.length - 1]; //in this case the SGV is scaled - if (focusPoint.sgv < scaleBg(40)) + if (focusPoint.y < 40) $('.container .currentBG').text('LOW'); - else if (focusPoint.sgv > scaleBg(400)) + else if (focusPoint.y > 400) $('.container .currentBG').text('HIGH'); else $('.container .currentBG').text(focusPoint.sgv);