summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-03 12:36:29 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-03 12:36:29 -0500
commitc1426ad5a33bfc4c5cb20418acd7567f038a56ca (patch)
tree1cfb118a276974c39e0c63e66aa5e65c3a13b85c
parenteca275d40a52addf87142f0f4f82c19c0516f01a (diff)
downloadpfsense-c1426ad5a33bfc4c5cb20418acd7567f038a56ca.zip
pfsense-c1426ad5a33bfc4c5cb20418acd7567f038a56ca.tar.gz
Fix degree symbol
-rw-r--r--src/usr/local/www/widgets/javascript/thermal_sensors.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/javascript/thermal_sensors.js b/src/usr/local/www/widgets/javascript/thermal_sensors.js
index 9f8495e..8db1c11 100644
--- a/src/usr/local/www/widgets/javascript/thermal_sensors.js
+++ b/src/usr/local/www/widgets/javascript/thermal_sensors.js
@@ -158,7 +158,7 @@ function buildThermalSensorsDataGraph(thermalSensorsData) {
'<div id="temperaturebarM' + i + '" class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0" style="width: 0%"></div>' +
'<div id="temperaturebarH' + i + '" class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0" style="width: 0%"></div>' +
'</div>' +
- '<span><b>' + sensorName + ': </b></span>' + '<span id="temperaturemsg' + i + '">' + thermalSensorValue + ' °C</span>';
+ '<span><b>' + sensorName + ': </b></span>' + '<span id="temperaturemsg' + i + '">' + thermalSensorValue + ' &deg;C</span>';
thermalSensorsHTMLContent = thermalSensorsHTMLContent + thermalSensorRow;
@@ -247,5 +247,5 @@ function setTempProgress(bar, percent) {
$('#' + 'temperaturebarM' + bar).css('width', barTempM + '%').attr('aria-valuenow', barTempM);
$('#' + 'temperaturebarH' + bar).css('width', barTempH + '%').attr('aria-valuenow', barTempH);
- $('#' + 'temperaturemsg' + bar).html(percent + ' °C');
+ $('#' + 'temperaturemsg' + bar).html(percent + ' &deg;C');
} \ No newline at end of file
OpenPOWER on IntegriCloud