Change search input handler from search() to waitSearch()

Updated the `oninput` event handler in `admin.html` to call
`waitSearch()` instead of `search()`. This change likely
introduces a delay or debounce mechanism to enhance search
performance and user experience.
This commit is contained in:
whoswhip
2024-09-07 18:59:51 -04:00
parent 229e4a323e
commit 4791b32400
+1 -1
View File
@@ -39,7 +39,7 @@
<div class="idek-wrapper">
<div class="accounts-wrapper">
<h3>Accounts</h3>
<input type="text" placeholder="search" class="text-input" oninput="search()">
<input type="text" placeholder="search" class="text-input" oninput="waitSearch()">
<div class="list-container" onscroll="getUsers()">
{accounts}
</div>