Fix Clipboard sharing (#6301)

This commit is contained in:
maTh authored and GitHub committed 2024-04-14 23:48:13 +02:00
1 parent 18532eaa61
commit 2846fdba6f
1 file changed
+1 -1
+1 -1
View File
@@ -1114,7 +1114,7 @@ function init_stream(stream) {
if (navigator.clipboard) {
navigator.clipboard.writeText(el.dataset.url)
.then(() => {
toggleClass(el, 'error');
toggleClass(el, 'ok');
})
.catch(e => {
console.log(e);