mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 11:58:28 +00:00
custom url-origin for ctrl-c (#1288)
add check for alternative clipboard url origin on ctrl-c
This commit is contained in:
1 file changed
+2
-1
@@ -4622,8 +4622,9 @@ var fileman = (function () {
|
||||
r.ccp = true;
|
||||
r.clip = vps.slice(2);
|
||||
|
||||
var prefix = sread("clip_uo") || location.origin;
|
||||
try {
|
||||
cliptxt(location.origin + r.clip.join('\n' + location.origin));
|
||||
cliptxt(prefix + r.clip.join('\n' + prefix));
|
||||
}
|
||||
catch (ex) {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user