cleaned up JS
This commit is contained in:
parent
186026fa6d
commit
cdd0c13cdc
7 changed files with 82 additions and 75 deletions
static/js
|
@ -1,4 +1,6 @@
|
|||
// Wait for the DOM to load
|
||||
/*
|
||||
This script is responsible for fetching search suggestions when the user types in the search bar. It also shows and hides the search suggestions wrapper.
|
||||
*/
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const searchInput = document.getElementById('search-input');
|
||||
const searchWrapper = document.querySelector('.wrapper, .wrapper-results');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue