Skip to content

Commit

Permalink
fixed retro error code bug that showed LOW incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Calabrese committed Jan 30, 2015
1 parent 3daa7d9 commit b267ee8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ var app = {}, browserSettings = {}, browserStorage = $.localStorage;
var prevfocusPoint = nowData[nowData.length - 2];

//in this case the SGV is scaled
if (focusPoint.y < 40) {
if (focusPoint.y < 39) {
$('.container .currentBG').text('');
} else if (focusPoint.y == 39) {
$('.container .currentBG').text('LOW');
} else if (focusPoint.y > 400) {
$('.container .currentBG').text('HIGH');
Expand Down

0 comments on commit b267ee8

Please sign in to comment.