From 96a028f8e19e6e30d7b448412e02ee41db334a2b Mon Sep 17 00:00:00 2001 From: Aungkon Malakar ONC Date: Sat, 21 Sep 2024 01:07:04 +0600 Subject: [PATCH] Update ui.js --- app/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui.js b/app/ui.js index cb7c062d..ad2705d4 100644 --- a/app/ui.js +++ b/app/ui.js @@ -980,7 +980,7 @@ const UI = { LocalclipboardSend() { const text = document.querySelector('#hidden_clipboard_sender').value; Log.Debug(">> UI.clipboardSend: " + text.substr(0, 40) + "..."); - if(text && UI.rfb.clipboardPasteFrom){ + if(text && UI.rfb){ UI.rfb.clipboardPasteFrom(text); } Log.Debug("<< UI.clipboardSend");