Compare commits

...

1 Commits

Author SHA1 Message Date
rustdesk
fb10e14566 fix https://github.com/rustdesk/rustdesk/issues/609#issuecomment-3931613118 2026-02-20 13:03:37 +08:00

View File

@@ -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(<ChatBox msgs={p.msgs} callback={p.callback} />);
var next_input = $(input);
if (next_input) next_input.value = draft;
view.focus = $(input);
}
function self.closing() {