mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 13:33:09 -07:00
ctrl-c also copies links to clipboard; closes #1182
This commit is contained in:
parent
530afddc6a
commit
9c14972da6
|
|
@ -4556,6 +4556,11 @@ var fileman = (function () {
|
|||
r.ccp = true;
|
||||
r.clip = vps.slice(2);
|
||||
|
||||
try {
|
||||
cliptxt(location.origin + r.clip.join('\n' + location.origin));
|
||||
}
|
||||
catch (ex) {}
|
||||
|
||||
try {
|
||||
vps = JSON.stringify(vps);
|
||||
if (vps.length > 1024 * 1024)
|
||||
|
|
|
|||
Loading…
Reference in a new issue