Fix search using incorrect element id
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
55560f40bd
commit
678d955044
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ window.addEventListener('DOMContentLoaded', () => {
|
|||
|
||||
const searchQuery = param('keyword')
|
||||
if (searchQuery) {
|
||||
document.getElementById('search-query').value = searchQuery
|
||||
document.getElementById('search-box').value = searchQuery
|
||||
executeSearch(searchQuery)
|
||||
} else {
|
||||
const node = document.createElement('p')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue