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:
@@ -794,7 +794,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function disconnectMachine(sessionId, machineName) {
|
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 {
|
try {
|
||||||
const response = await fetch("/api/sessions/" + sessionId, { method: "DELETE" });
|
const response = await fetch("/api/sessions/" + sessionId, { method: "DELETE" });
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user