diff --git a/js/zerobin.js b/js/zerobin.js index 2392598b..545c39e9 100644 --- a/js/zerobin.js +++ b/js/zerobin.js @@ -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()); }