Explorar o código

Update Copy Link url after short url is generated

Karthik Kasturi hai 1 ano
pai
achega
ce188671db
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      js/privatebin.js

+ 1 - 0
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;
                 }
             }