chore: enhance modal for esc to close if js is enabled

This commit is contained in:
Cory Dransfeldt 2024-08-04 16:04:18 -07:00
parent b7e2eef988
commit d11d7bed15
No known key found for this signature in database
5 changed files with 28 additions and 16 deletions

View file

@ -1,3 +1,7 @@
{% capture js %}
{% render "../../../assets/scripts/modal.js" %}
{% endcapture %}
<script>{{ js }}</script>
{%- capture labelContent -%}
{% if icon %}
{% tablericon icon label %}