mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 09:49:14 +02:00
Update Copy Link url after short url is generated
This commit is contained in:
parent
f739b5b6a9
commit
ce188671db
1 changed files with 1 additions and 0 deletions
|
@ -2158,6 +2158,7 @@ jQuery.PrivateBin = (function($) {
|
||||||
$pasteUrl.prop('href', shortUrl);
|
$pasteUrl.prop('href', shortUrl);
|
||||||
// we pre-select the link so that the user only has to [Ctrl]+[c] the link
|
// we pre-select the link so that the user only has to [Ctrl]+[c] the link
|
||||||
Helper.selectText($pasteUrl[0]);
|
Helper.selectText($pasteUrl[0]);
|
||||||
|
CopyToClipboard.setUrl(shortUrl);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue