Skip to content

Commit

Permalink
fixed search
Browse files Browse the repository at this point in the history
  • Loading branch information
jadc committed Sep 20, 2023
1 parent 87c2ee5 commit 4f49969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/search.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
document.addEventListener('DOMContentLoaded', () => {
const pages = document.querySelectorAll('a.page');
const search = document.getElementById('search');
const search = document.getElementById('search').firstElementChild;

search.addEventListener('input', () => {
const query = clean(search.value).split(' ');
Expand Down

0 comments on commit 4f49969

Please sign in to comment.