From 1bb93f318fed4979089410421c7a6945795899e5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 8 Aug 2023 05:48:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- index.html | 2 +- modules/conditional-input.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 008e424..5f57c10 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/modules/conditional-input.js b/modules/conditional-input.js index 20e7bf1..c03e67f 100644 --- a/modules/conditional-input.js +++ b/modules/conditional-input.js @@ -21,7 +21,7 @@ class ConditionalInput { this.triggers = this.form.querySelectorAll(`input.${this.targetClass}`); this.followers = this.form.querySelectorAll( - `.${this.targetClass}:not(input)` + `.${this.targetClass}:not(input)`, ); this.requiredStorage = []; @@ -40,7 +40,7 @@ class ConditionalInput { that.updateFollowers( trigger.name, trigger.value, - trigger.checked + trigger.checked, ); }); }); @@ -81,7 +81,7 @@ class ConditionalInput { if (this.requiredStorage.includes(element)) { element.setAttribute("required", ""); this.requiredStorage = this.requiredStorage.filter( - (x) => x !== element + (x) => x !== element, ); }