diff --git a/app/ui.js b/app/ui.js index fe62ede7..4c9342a1 100644 --- a/app/ui.js +++ b/app/ui.js @@ -337,8 +337,6 @@ const UI = { .addEventListener('click', UI.toggleClipboardPanel); document.getElementById("noVNC_clipboard_text") .addEventListener('change', UI.clipboardSend); - document.getElementById("noVNC_clipboard_clear_button") - .addEventListener('click', UI.clipboardClear); }, // Add a call to save settings when the element changes, @@ -968,11 +966,6 @@ const UI = { Log.Debug("<< UI.clipboardReceive"); }, - clipboardClear() { - document.getElementById('noVNC_clipboard_text').value = ""; - UI.rfb.clipboardPasteFrom(""); - }, - clipboardSend() { const text = document.getElementById('noVNC_clipboard_text').value; Log.Debug(">> UI.clipboardSend: " + text.substr(0, 40) + "..."); diff --git a/vnc.html b/vnc.html index 168b5b99..9128c113 100644 --- a/vnc.html +++ b/vnc.html @@ -142,9 +142,6 @@ Clipboard -
-