[bugfix] clear the notfound message on new search
This commit is contained in:
@@ -14,6 +14,8 @@ import { Show } from '@clerk/astro/components'
|
||||
}
|
||||
};
|
||||
const beforeSearch = (e) => {
|
||||
const notfound = document.getElementById('notfound');
|
||||
if (notfound) notfound.innerHTML = '';
|
||||
const start = document.querySelector('#start');
|
||||
if (start) {
|
||||
start.value = '0';
|
||||
|
||||
Reference in New Issue
Block a user