commit 73385e9a593b09a4d791cb71af9f223595d94af3
parent e850812d39b183f4ce92a72279b4ffc99dfaf1ce
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Thu, 17 Oct 2024 22:16:34 +0200
fix: move scrolling into category search script
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.php b/index.php
@@ -458,8 +458,6 @@
entries[i].classList.remove("hidden");
}
}
- // Scroll back to search bar
- setTimeout(scroll_to("engines"), 500);
}
</script>
@@ -472,6 +470,8 @@
document.getElementById("categories").open = false;
// filter through search engines list
setTimeout(search_engines("engines_searchbar"), 500);
+ // Scroll back to search bar
+ setTimeout(scroll_to("engines"), 500);
}
</script>