From 99bc25c237074fe097e68ceea5d9847179d7ae14 Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 14 Nov 2024 16:52:33 +0100 Subject: [PATCH] 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. --- global.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/global.js b/global.js index c0b1fe1..f21fef6 100644 --- a/global.js +++ b/global.js @@ -74,6 +74,8 @@ document.addEventListener("DOMContentLoaded", function () { $("button").each(function () { if ($(this).text().startsWith("Check")) { $(this).hide(); + } else if ($(this).text().startsWith("Previous page")) { + $(this).hide(); } });