mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Change URL on clone
This commit is contained in:
parent
d247bff897
commit
7cb345001a
|
@ -328,6 +328,10 @@ function stateExistingPaste() {
|
|||
*/
|
||||
function clonePaste() {
|
||||
stateNewPaste();
|
||||
|
||||
//Erase the id and the key in url
|
||||
history.replaceState(document.title, document.title, scriptLocation());
|
||||
|
||||
showStatus('');
|
||||
$('textarea#message').text($('div#cleartext').text());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user