diff options
| author | 2024-04-14 23:48:13 +0200 | |
|---|---|---|
| committer | 2024-04-14 23:48:13 +0200 | |
| commit | 2846fdba6fa23e4b8787dbc5d98729e968aa73a9 (patch) | |
| tree | 7a5eb367ca679bd819bfeb644982f94fe38ce055 /p | |
| parent | 18532eaa61b7e359ea0284fb23a4589525aca702 (diff) | |
Fix Clipboard sharing (#6301)
Diffstat (limited to 'p')
| -rw-r--r-- | p/scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index 5c416a701..3d88a79e5 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -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); |
