mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
system: whitespace on previous
This commit is contained in:
parent
44072ec44c
commit
cd11a6a150
@ -129,11 +129,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
.removeClass('progress-bar-danger')
|
||||
.addClass('progress-bar-success');
|
||||
}
|
||||
|
||||
// update bar
|
||||
if($('#thermal_sensors_widget_show_temp_in_fahrenheit').attr('checked') === 'checked') {
|
||||
if ($('#thermal_sensors_widget_show_temp_in_fahrenheit').attr('checked') === 'checked') {
|
||||
progressBar.html(Number.parseFloat(1.8 * sensor['temperature'] + 32).toFixed(1) + ' °F');
|
||||
} else {
|
||||
progressBar.html(sensor['temperature'] + ' °C');
|
||||
progressBar.html(sensor['temperature'] + ' °C');
|
||||
}
|
||||
progressBar.css("width", tempIntValue + "%").attr("aria-valuenow", tempIntValue + "%");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user