This commit is contained in:
xkeyC 2024-11-07 00:43:05 +08:00
parent 472fdb08fb
commit 56208e1909

View File

@ -17,11 +17,10 @@ async function onSendMessage() {
let send_button = document.getElementById("send_button"); let send_button = document.getElementById("send_button");
let input = document.getElementById("input_message"); let input = document.getElementById("input_message");
let isAutoCopy = document.getElementById("auto_copy").checked; let isAutoCopy = document.getElementById("auto_copy").checked;
let isAutoSend = document.getElementById("auto_send").checked;
let messageJson = { let messageJson = {
"text": input.value, "text": input.value,
"autoCopy": isAutoCopy, "autoCopy": isAutoCopy,
"autoInput": isAutoSend "autoInput": false
}; };
send_button.loading = true; send_button.loading = true;
try { try {