Fix disconnect confirmation newline display

Changed \n\n to \n\n so newlines render properly in confirm dialog

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-29 06:06:15 -07:00
parent 598a6737de
commit e3fbba4d6b

View File

@@ -794,7 +794,7 @@
}
async function disconnectMachine(sessionId, machineName) {
if (!confirm("Disconnect " + machineName + "?\\n\\nThis will end the remote session.")) return;
if (!confirm("Disconnect " + machineName + "?\n\nThis will end the remote session.")) return;
try {
const response = await fetch("/api/sessions/" + sessionId, { method: "DELETE" });
if (response.ok) {