mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-06 02:39:59 +02:00
Change URL on clone
This commit is contained in:
parent
d247bff897
commit
7cb345001a
1 changed files with 4 additions and 0 deletions
|
@ -328,6 +328,10 @@ function stateExistingPaste() {
|
||||||
*/
|
*/
|
||||||
function clonePaste() {
|
function clonePaste() {
|
||||||
stateNewPaste();
|
stateNewPaste();
|
||||||
|
|
||||||
|
//Erase the id and the key in url
|
||||||
|
history.replaceState(document.title, document.title, scriptLocation());
|
||||||
|
|
||||||
showStatus('');
|
showStatus('');
|
||||||
$('textarea#message').text($('div#cleartext').text());
|
$('textarea#message').text($('div#cleartext').text());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue