diff --git a/js/main.js b/js/main.js index 355d308..5cdf4b3 100644 --- a/js/main.js +++ b/js/main.js @@ -198,4 +198,4 @@ function run_tests(){ document.getElementById('add_test').onclick = ()=>new_test(); document.getElementById('run_tests').onclick = ()=>run_tests(); -loads(window.localStorage.getItem('jsLbench')) \ No newline at end of file +loads(location.hash.slice(1) || window.localStorage.getItem('jsLbench')) \ No newline at end of file