diff --git a/js/main.js b/js/main.js index 5cdf4b3..479da2a 100644 --- a/js/main.js +++ b/js/main.js @@ -98,6 +98,7 @@ function saves(){ ) window.localStorage.setItem('jsLbench', data); + history.replaceState(null, null, document.location.pathname + '#' + data); return data; }