chore: consolidate broadly used js + cleanup
This commit is contained in:
parent
ee0832dd0b
commit
10dd21f6e3
10 changed files with 78 additions and 85 deletions
|
@ -155,5 +155,6 @@
|
|||
})()
|
||||
</script>
|
||||
{{ content }}
|
||||
<script src="/assets/scripts/index.js?v={% appVersion %}" defer></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +1,3 @@
|
|||
{%- capture js -%}
|
||||
{% render "../../../assets/scripts/modal.js" %}
|
||||
{%- endcapture -%}
|
||||
<script>{{ js }}</script>
|
||||
{%- capture labelContent -%}
|
||||
{%- if icon -%}
|
||||
{% tablericon icon label %}
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
{%- capture js -%}
|
||||
{% render "../../../assets/scripts/menu.js" %}
|
||||
{%- endcapture -%}
|
||||
<script>{{ js }}</script>
|
||||
<div class="flex-centered">
|
||||
<input id="menu-toggle" type="checkbox" aria-hidden="true" />
|
||||
<label class="menu-button-container" for="menu-toggle" tabindex="0">
|
||||
|
|
Reference in a new issue