mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
add comment back to bookwyrm.js
This commit is contained in:
parent
2c9ebba5d7
commit
8ed4a997f8
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ let BookWyrm = new (class {
|
||||||
const form = event.currentTarget;
|
const form = event.currentTarget;
|
||||||
const relatedforms = document.querySelectorAll(`.${form.dataset.id}`);
|
const relatedforms = document.querySelectorAll(`.${form.dataset.id}`);
|
||||||
|
|
||||||
|
// Toggle class on all related forms.
|
||||||
relatedforms.forEach((relatedForm) =>
|
relatedforms.forEach((relatedForm) =>
|
||||||
bookwyrm.addRemoveClass(
|
bookwyrm.addRemoveClass(
|
||||||
relatedForm,
|
relatedForm,
|
||||||
|
|
Loading…
Reference in a new issue