From 36a095145a5aafdde4619a94578b2941ff72394f Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 14 Nov 2024 16:52:45 +0100 Subject: [PATCH] fix(ui): hide "Previous page" buttons alongside "Check" Expanded the button hiding logic to also target buttons whose text starts with "Previous page", enhancing UI consistency by ensuring these buttons are not displayed at inappropriate times. This modification aligns with the desired user experience requirements. --- global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global.js b/global.js index f21fef6..9c46c78 100644 --- a/global.js +++ b/global.js @@ -70,7 +70,7 @@ document.addEventListener("DOMContentLoaded", function () { hideContent(); }); - // Hide any button that has a text starting with "Check" + // Hide any button that has a text starting with "Check" or "Previous page" $("button").each(function () { if ($(this).text().startsWith("Check")) { $(this).hide();