feat(global.js): hide buttons starting with "Check"
Added logic to automatically hide any button with text starting with "Check". This enhances the UI by removing unnecessary or redundant button elements that may not be needed for the user experience.
This commit is contained in:
parent
0842d40df9
commit
ce5b93c5c6
1 changed files with 7 additions and 0 deletions
|
@ -70,6 +70,13 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
hideContent();
|
||||
});
|
||||
|
||||
// Hide any button that has a text starting with "Check"
|
||||
$("button").each(function () {
|
||||
if ($(this).text().startsWith("Check")) {
|
||||
$(this).hide();
|
||||
}
|
||||
});
|
||||
|
||||
$("form").each(function () {
|
||||
const form = $(this);
|
||||
|
||||
|
|
Loading…
Reference in a new issue