From 0816ecedb75add2dd1a61c9bd9a477e5d847c88a Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sat, 31 May 2025 22:24:39 -0700 Subject: [PATCH] Lint --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index 3652daa0..d152a572 100644 --- a/js/main.js +++ b/js/main.js @@ -299,11 +299,11 @@ if (buttonsInChat.length > 0) { menu.appendChild(thisButton); // Only apply transformations to button elements - if (thisButton.tagName.toLowerCase() === 'button') { + if (thisButton.tagName.toLowerCase() === "button") { thisButton.addEventListener("click", () => { hideMenu(); }); - + const buttonText = thisButton.textContent; const matches = buttonText.match(/(\(.*?\))/);