feat(ui): hide 'Previous page' buttons on page load

Adjusted the UI to automatically hide buttons with text starting with "Previous page" upon the page's initial loading. This change helps streamline the user interface by removing redundant navigation options, enhancing user experience.
This commit is contained in:
Kumi 2024-11-14 16:52:33 +01:00
parent 8a4c7c9113
commit 99bc25c237
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -74,6 +74,8 @@ document.addEventListener("DOMContentLoaded", function () {
$("button").each(function () { $("button").each(function () {
if ($(this).text().startsWith("Check")) { if ($(this).text().startsWith("Check")) {
$(this).hide(); $(this).hide();
} else if ($(this).text().startsWith("Previous page")) {
$(this).hide();
} }
}); });