Update Copy Link url after short url is generated

This commit is contained in:
Karthik Kasturi 2025-08-05 01:14:37 +05:30 committed by GitHub
parent f739b5b6a9
commit ce188671db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
} }
} }