Scroll window to the top on render. (#423)

This commit is contained in:
Tiktack
2024-10-21 21:00:32 +02:00
committed by GitHub
parent 5258ae4b34
commit c00efff554

View File

@@ -22,6 +22,7 @@
<meta name="color-scheme" content="dark light">
<script>
function RenderHTML(htmlString) {
window.scroll(0, 0);
var containerDiv = document.getElementById("readerDiv");
containerDiv.innerHTML = htmlString;
}