diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-03 12:31:26 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-03 12:31:52 -0500 |
commit | eca275d40a52addf87142f0f4f82c19c0516f01a (patch) | |
tree | b6d5565a9f8b7d3e85c0718746aa4fd3daf77576 /src | |
parent | 6684d5944eacf4dbd717edba9d82c30001b5bc3b (diff) | |
download | pfsense-eca275d40a52addf87142f0f4f82c19c0516f01a.zip pfsense-eca275d40a52addf87142f0f4f82c19c0516f01a.tar.gz |
Fixed warning threshold
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/widgets/javascript/thermal_sensors.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/javascript/thermal_sensors.js b/src/usr/local/www/widgets/javascript/thermal_sensors.js index 75e143b..9f8495e 100644 --- a/src/usr/local/www/widgets/javascript/thermal_sensors.js +++ b/src/usr/local/www/widgets/javascript/thermal_sensors.js @@ -233,7 +233,7 @@ function setTempProgress(bar, percent) { barTempM = 0; barTempH = 0; } else if(percent <= criticalTemp) { - barTempL = WarningTemp; + barTempL = warningTemp; barTempM = percent - warningTemp; barTempH = 0; } else { @@ -242,6 +242,7 @@ function setTempProgress(bar, percent) { barTempH = percent - criticalTemp; } + $('#' + 'temperaturebarL' + bar).css('width', barTempL + '%').attr('aria-valuenow', barTempL); $('#' + 'temperaturebarM' + bar).css('width', barTempM + '%').attr('aria-valuenow', barTempM); $('#' + 'temperaturebarH' + bar).css('width', barTempH + '%').attr('aria-valuenow', barTempH); |