mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
feat: fix cause on switch pop-up (#185)
This commit is contained in:
parent
b2c8ed6818
commit
15dbe6265f
@ -107,7 +107,7 @@ export function Atx(__recorder) {
|
|||||||
if ($("atx-ask-switch").checked) {
|
if ($("atx-ask-switch").checked) {
|
||||||
wm.confirm(`
|
wm.confirm(`
|
||||||
Are you sure you want to press the <b>${button}</b> button?<br>
|
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) {
|
`).then(function(ok) {
|
||||||
if (ok) {
|
if (ok) {
|
||||||
click_button();
|
click_button();
|
||||||
|
|||||||
@ -584,7 +584,7 @@ export function Switch() {
|
|||||||
if ($("switch-atx-ask-switch").checked) {
|
if ($("switch-atx-ask-switch").checked) {
|
||||||
wm.confirm(`
|
wm.confirm(`
|
||||||
Are you sure you want to press the <b>${button}</b> button?<br>
|
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) {
|
`).then(function(ok) {
|
||||||
if (ok) {
|
if (ok) {
|
||||||
click_button();
|
click_button();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user