- this.$(".modal.show")
- .on("hidden.bs.modal", (e) => {
+ this.element.querySelectorAll(".modal.show").forEach(el => el.addEventListener("hidden.bs.modal", (e) => {
if (this.allAssigned) {
this.sendAction("allAssigned");
}
$(e.currentTarget).unbind();
- })
+ }))
since these are custom jquery events they would not be subscribable in this way: