From 25faf2163bdc03f46e13e954cb4c450bfbde6475 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 15:27:29 +0000 Subject: [PATCH] Code maintenance: lint, format and build code --- settings/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/settings/index.ts b/settings/index.ts index dbc17090..796572d2 100644 --- a/settings/index.ts +++ b/settings/index.ts @@ -186,11 +186,11 @@ const holidayModeEnabledElement = document.getElementById( const disableButton = (id: string, value = true): void => { const element = document.getElementById(id) - if (value) { - element?.classList.add('is-disabled') - return - } - element?.classList.remove('is-disabled') + if (value) { + element?.classList.add('is-disabled') + return + } + element?.classList.remove('is-disabled') } const enableButton = (id: string, value = true): void => {