summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarfront1 <[email protected]>2025-01-25 01:40:48 -0500
committerGitHub <[email protected]>2025-01-25 08:40:48 +0200
commit15dbe6265fbf0a13cae8022b6e5409b14f541411 (patch)
treec6c22cdad44b097d7f2011e86f90918e1d393e24
parentb2c8ed6818db428ededbf3650f1fee81e83fd32b (diff)
feat: fix cause on switch pop-up (#185)
-rw-r--r--web/share/js/kvm/atx.js2
-rw-r--r--web/share/js/kvm/switch.js2
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 <b>${button}</b> button?<br>
- 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 <b>${button}</b> button?<br>
- 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();