From 32f69be9c2c9d7e41f12531911d36dc6b45f294a Mon Sep 17 00:00:00 2001 From: Bitha17 <16521076@mahasiswa.itb.ac.id> Date: Mon, 9 Oct 2023 12:17:16 +0700 Subject: [PATCH] edit: debouncing --- app/Views/home/home.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Views/home/home.php b/app/Views/home/home.php index eaabbcd..b0871af 100644 --- a/app/Views/home/home.php +++ b/app/Views/home/home.php @@ -139,7 +139,7 @@ // Attach the debounce function to the search input's input event searchInput.addEventListener('input', debounceSearch); - + document.getElementById('minStockInput').addEventListener('input', debounceSearch); // Attach an event listener to the sort dropdown document.getElementById('sortSelect').addEventListener('change', function () { // Trigger the debounceSearch function when the sorting option changes -- GitLab