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.
This commit is contained in:
Kumi 2024-11-14 16:52:45 +01:00
parent 99bc25c237
commit 36a095145a
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -70,7 +70,7 @@ document.addEventListener("DOMContentLoaded", function () {
hideContent(); 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 () { $("button").each(function () {
if ($(this).text().startsWith("Check")) { if ($(this).text().startsWith("Check")) {
$(this).hide(); $(this).hide();