fix: closes modal when clicking dismiss button
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after -59s

This commit is contained in:
Brock H Caldwell
2026-02-06 09:51:07 -06:00
parent c7956f5f0b
commit 37516c7f02

View File

@@ -14,5 +14,6 @@ export default class extends Controller {
"3000"
));
this.element.addEventListener('mouseover', () => clearTimeout(timer));
this.element.querySelector('.modal-close').addEventListener('click', () => this.element.remove());
}
}