mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-17 05:36:34 +00:00
dammit eslint
This commit is contained in:
parent
3d74b10c5f
commit
5d7f77021b
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ let BookWyrm = new class {
|
||||||
revealForm(event) {
|
revealForm(event) {
|
||||||
let trigger = event.currentTarget;
|
let trigger = event.currentTarget;
|
||||||
let hidden = trigger.closest('.hidden-form').querySelectorAll('.is-hidden')[0];
|
let hidden = trigger.closest('.hidden-form').querySelectorAll('.is-hidden')[0];
|
||||||
|
|
||||||
if (hidden) {
|
if (hidden) {
|
||||||
this.addRemoveClass(hidden, 'is-hidden', !hidden);
|
this.addRemoveClass(hidden, 'is-hidden', !hidden);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue