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:
parent
99bc25c237
commit
36a095145a
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue