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() {
|
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…
Reference in New Issue
Block a user