From ce188671dbc0c503db0e73e1281d3633f90a1320 Mon Sep 17 00:00:00 2001 From: Karthik Kasturi Date: Tue, 5 Aug 2025 01:14:37 +0530 Subject: [PATCH] Update Copy Link url after short url is generated --- js/privatebin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/privatebin.js b/js/privatebin.js index a5bfc578..908d863e 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2158,6 +2158,7 @@ jQuery.PrivateBin = (function($) { $pasteUrl.prop('href', shortUrl); // we pre-select the link so that the user only has to [Ctrl]+[c] the link Helper.selectText($pasteUrl[0]); + CopyToClipboard.setUrl(shortUrl); return; } }