Skip to content

Commit

Permalink
log message if we can't use clipboard.write
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@24328 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 31, 2019
1 parent 0ea20de commit 65950ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ XpraClient.prototype.init_state = function(container) {
if (CLIPBOARD_IMAGES && navigator.clipboard && navigator.clipboard.write) {
this.clipboard_targets.push("image/png");
}
else {
this.log("no clipboard write support: no images, navigator.clipboard=", navigator.clipboard);
}
// printing / file-transfer:
this.remote_printing = false;
this.remote_file_transfer = false;
Expand Down

0 comments on commit 65950ff

Please sign in to comment.