chore: enhance modal for esc to close if js is enabled
This commit is contained in:
parent
b7e2eef988
commit
d11d7bed15
5 changed files with 28 additions and 16 deletions
|
@ -1,3 +1,7 @@
|
|||
{% capture js %}
|
||||
{% render "../../../assets/scripts/modal.js" %}
|
||||
{% endcapture %}
|
||||
<script>{{ js }}</script>
|
||||
{%- capture labelContent -%}
|
||||
{% if icon %}
|
||||
{% tablericon icon label %}
|
||||
|
|
Reference in a new issue