From 6aee70fa18f4ac599411c8a1391eb2e0ed836d41 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Wed, 25 Feb 2026 17:09:51 +0800 Subject: [PATCH] fix https://github.com/rustdesk/rustdesk/issues/609#issuecomment-3931613118 (#14364) --- src/ui/chatbox.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/chatbox.html b/src/ui/chatbox.html index 10d85a567..87d616289 100644 --- a/src/ui/chatbox.html +++ b/src/ui/chatbox.html @@ -12,7 +12,11 @@ include "common.tis"; var p = view.parameters; view.refresh = function() { + var draft_input = $(input); + var draft = draft_input ? (draft_input.value || "") : ""; $(body).content(); + var next_input = $(input); + if (next_input) next_input.value = draft; view.focus = $(input); } function self.closing() {