mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-23 03:34:41 -04:00
Fix Clipboard sharing (#6301)
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user