Skip to content

Commit 2a489b4

Browse files
committed
Remove unit that may not be correct for some values (#1397)
1 parent f23ba1b commit 2a489b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mycodo/widgets/widget_output.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
if (state === 'on') {
355355
document.getElementById("text-output-state-" + widget_id).innerHTML = '({{_('Active')}})';
356356
} else {
357-
document.getElementById("text-output-state-" + widget_id).innerHTML = '({{_('Active')}}, ' + state.toFixed(1) + '%)';
357+
document.getElementById("text-output-state-" + widget_id).innerHTML = '({{_('Active')}}, ' + state.toFixed(1) + ')';
358358
}
359359
}
360360
else {

0 commit comments

Comments
 (0)