summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/session.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r--web/share/js/kvm/session.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index 72b68151..06ffcd95 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -92,11 +92,11 @@ export function Session() {
let undervoltage = (flags.undervoltage.now || flags.undervoltage.past);
let freq_capped = (flags.freq_capped.now || flags.freq_capped.past);
- tools.setHiddenVisible($("hw-health-dropdown"), (undervoltage || freq_capped));
+ tools.hiddenSetVisible($("hw-health-dropdown"), (undervoltage || freq_capped));
$("hw-health-undervoltage-led").className = (undervoltage ? (flags.undervoltage.now ? "led-red" : "led-yellow") : "hidden");
$("hw-health-overheating-led").className = (freq_capped ? (flags.freq_capped.now ? "led-red" : "led-yellow") : "hidden");
- tools.setHiddenVisible($("hw-health-message-undervoltage"), undervoltage);
- tools.setHiddenVisible($("hw-health-message-overheating"), freq_capped);
+ tools.hiddenSetVisible($("hw-health-message-undervoltage"), undervoltage);
+ tools.hiddenSetVisible($("hw-health-message-overheating"), freq_capped);
}
};