Skip to content

Commit 35b1279

Browse files
committed
update frontend
1 parent e4f60e7 commit 35b1279

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/generated.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,12 +2918,12 @@ <h1 class="ds-center">Welcome to Solid</h1>
29182918
<!-- Foot HTML -->
29192919
<!-- autofocus (baseComponent/autofocus) -->
29202920
<script>
2921-
simply.route.addListener('finish',':*',() => {
2921+
document.addEventListener("simply-content-loaded", function() {
29222922
const focus = document.querySelector('[autofocus]')
29232923
if (focus) {
2924-
focus.focus()
2924+
focus.focus();
29252925
}
2926-
})
2926+
});
29272927
</script>
29282928
<!-- darkmode-init (baseComponent/darkmode) -->
29292929
<script>

0 commit comments

Comments
 (0)