mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Logging error if copy failed
This commit is contained in:
parent
0ea9faee08
commit
7d585fde1b
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
|
||||||
try {
|
try {
|
||||||
document.execCommand('copy');
|
document.execCommand('copy');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.error("Failed to copy to clipboard");
|
||||||
}
|
}
|
||||||
|
|
||||||
document.body.removeChild(textArea);
|
document.body.removeChild(textArea);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue