From 3d74b10c5fa47d1d6f3e0956401c177262296981 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sun, 10 Oct 2021 13:55:18 +1100 Subject: [PATCH] eslinting --- bookwyrm/static/js/bookwyrm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/static/js/bookwyrm.js b/bookwyrm/static/js/bookwyrm.js index d1dae06ef..5ec7e27e4 100644 --- a/bookwyrm/static/js/bookwyrm.js +++ b/bookwyrm/static/js/bookwyrm.js @@ -134,7 +134,7 @@ let BookWyrm = new class { let trigger = event.currentTarget; let hidden = trigger.closest('.hidden-form').querySelectorAll('.is-hidden')[0]; if (hidden) { - this.addRemoveClass(hidden, 'is-hidden', !hidden); + this.addRemoveClass(hidden, 'is-hidden', !hidden); } } @@ -150,7 +150,7 @@ let BookWyrm = new class { let visible = document.getElementById(targetId) this.addRemoveClass(visible, 'is-hidden', true); - } + } /** * Execute actions on targets based on triggers.