Merge c0be1b83d7 into fc5b83c08f
This commit is contained in:
commit
5c8ddf31c2
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue