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