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