dammit eslint

This commit is contained in:
Hugh Rundle 2021-10-10 14:02:55 +11:00
parent 3d74b10c5f
commit 5d7f77021b

View file

@ -133,6 +133,7 @@ let BookWyrm = new class {
revealForm(event) {
let trigger = event.currentTarget;
let hidden = trigger.closest('.hidden-form').querySelectorAll('.is-hidden')[0];
if (hidden) {
this.addRemoveClass(hidden, 'is-hidden', !hidden);
}