Commit 0e6dbb3f authored by Zachary Dunn's avatar Zachary Dunn

Move focus to top on scroll to top

parent bdc75468
......@@ -105,6 +105,7 @@
scroll = (h[st]||b[st]) / ((h[sh]||b[sh]) - h.clientHeight) * 100;
const offset = circumference - scroll / 100 * circumference;
progressCircle.style.strokeDashoffset = offset;
document.body.focus();
});
</script>
</body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment