Adds link confirmation modal

This commit is contained in:
Mouse Reeve
2022-01-10 11:47:52 -08:00
parent 4dfe9fd714
commit 8ba3a4ab00
4 changed files with 32 additions and 3 deletions

View File

@ -35,7 +35,7 @@ let BookWyrm = new (class {
.forEach((node) => node.addEventListener("change", this.disableIfTooLarge.bind(this)));
document
.querySelectorAll("button[data-modal-open]")
.querySelectorAll("[data-modal-open]")
.forEach((node) => node.addEventListener("click", this.handleModalButton.bind(this)));
document