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