forked from mirrors/bookwyrm
eslinting
This commit is contained in:
parent
726217577f
commit
3d74b10c5f
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue