From ce5b93c5c68ee037535bae36276af0141ca118a2 Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 14 Nov 2024 16:14:44 +0100 Subject: [PATCH] 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. --- global.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/global.js b/global.js index 25c91bf..c0b1fe1 100644 --- a/global.js +++ b/global.js @@ -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);