This commit is contained in:
Daniel Hammerschmidt 2026-05-23 19:49:46 +02:00 committed by GitHub
commit 5c8ddf31c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1864,11 +1864,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');

View File

@ -94,7 +94,7 @@ protocol stream.
[`clipboard`](#clipboard)
- The `clipboard` event is fired when clipboard data is received from
the server.
the server (only if support for the [Clipboard module](API-internal.md#11-module-list) is not available).
[`clippingviewport`](#clippingviewport)
- The `clippingviewport` event is fired when `RFB.clippingViewport` is