diff options
Diffstat (limited to 'app/ui.js')
-rw-r--r-- | app/ui.js | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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) + "..."); |