diff --git a/templates/index.html b/templates/index.html index 3f7a40f..4fd9d19 100644 --- a/templates/index.html +++ b/templates/index.html @@ -399,11 +399,11 @@

Suppress Alert

-
+
- @@ -449,6 +449,8 @@ {% block scripts %} {% endblock %} diff --git a/templates/suppressions.html b/templates/suppressions.html index 59a7af7..a77df40 100644 --- a/templates/suppressions.html +++ b/templates/suppressions.html @@ -15,11 +15,11 @@
- +
- @@ -294,6 +294,9 @@ } } + document.getElementById('s-type')?.addEventListener('change', onTypeChange); + document.getElementById('create-suppression-form')?.addEventListener('submit', createSuppression); + document.addEventListener('click', e => { const pill = e.target.closest('#create-suppression-form .pill[data-duration]'); if (pill) {