Skip to content

Commit ead933d

Browse files
committed
don't need to wrap this
Signed-off-by: Chris Abraham <[email protected]>
1 parent d1d7bf2 commit ead933d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

static/js/search.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@
9494
window.renderGoogleSearchResults()
9595
}
9696
} else if (getCookie("can_google") == "false") {
97-
window.addEventListener('DOMContentLoaded', (event) => {
98-
window.renderPageFindSearchResults()
99-
});
97+
window.renderPageFindSearchResults()
10098
} else {
10199
window.renderGoogleSearchResults()
102100
}

0 commit comments

Comments
 (0)