From 15dbe6265fbf0a13cae8022b6e5409b14f541411 Mon Sep 17 00:00:00 2001 From: Warfront1 <1920038+Warfront1@users.noreply.github.com> Date: Sat, 25 Jan 2025 01:40:48 -0500 Subject: [PATCH] feat: fix cause on switch pop-up (#185) --- web/share/js/kvm/atx.js | 2 +- web/share/js/kvm/switch.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/share/js/kvm/atx.js b/web/share/js/kvm/atx.js index 0065e73c..ce3e4d27 100644 --- a/web/share/js/kvm/atx.js +++ b/web/share/js/kvm/atx.js @@ -107,7 +107,7 @@ export function Atx(__recorder) { if ($("atx-ask-switch").checked) { wm.confirm(` Are you sure you want to press the ${button} button?
- Warning! This could case data loss on the server. + Warning! This could cause data loss on the server. `).then(function(ok) { if (ok) { click_button(); diff --git a/web/share/js/kvm/switch.js b/web/share/js/kvm/switch.js index bd33a781..8187a22c 100644 --- a/web/share/js/kvm/switch.js +++ b/web/share/js/kvm/switch.js @@ -584,7 +584,7 @@ export function Switch() { if ($("switch-atx-ask-switch").checked) { wm.confirm(` Are you sure you want to press the ${button} button?
- Warning! This could case data loss on the server. + Warning! This could cause data loss on the server. `).then(function(ok) { if (ok) { click_button();