diff --git a/app/ui.js b/app/ui.js index bbdea60d..9bd72a2e 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1782,11 +1782,11 @@ const UI = { updateClipboard() { browserAsyncClipboardSupport() .then((support) => { - if (support === 'unsupported') { + if (support === 'unsupported' || support === 'denied') { // Use fallback clipboard panel return; } - if (support === 'denied' || support === 'available') { + if (support === 'available') { UI.closeClipboardPanel(); document.getElementById('noVNC_clipboard_button') .classList.add('noVNC_hidden');