We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58c50f9 commit cde83f1Copy full SHA for cde83f1
1 file changed
www/_includes/layout.njk
@@ -45,10 +45,6 @@ title: hyperscript
45
end
46
47
48
- on focus
49
- pagefind.preload('')
50
- end
51
-
52
on input debounced at 200ms
53
if my value is ''
54
empty #search-results
@@ -132,6 +128,8 @@ title: hyperscript
132
128
</div>
133
129
<script type="module">
134
130
window.pagefind = await import("/pagefind/pagefind.js");
131
+ window.pagefind.init();
+ window.pagefind.preload('a');
135
</script>
136
</body>
137
</html>
0 commit comments