We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f60e7 commit 35b1279Copy full SHA for 35b1279
1 file changed
frontend/generated.html
@@ -2918,12 +2918,12 @@ <h1 class="ds-center">Welcome to Solid</h1>
2918
<!-- Foot HTML -->
2919
<!-- autofocus (baseComponent/autofocus) -->
2920
<script>
2921
- simply.route.addListener('finish',':*',() => {
+ document.addEventListener("simply-content-loaded", function() {
2922
const focus = document.querySelector('[autofocus]')
2923
if (focus) {
2924
- focus.focus()
+ focus.focus();
2925
}
2926
- })
+ });
2927
</script>
2928
<!-- darkmode-init (baseComponent/darkmode) -->
2929
0 commit comments