Skip to content

Commit

Permalink
fix(templates): js load order;
Browse files Browse the repository at this point in the history
- Fix JS load order for custom spec module.
  • Loading branch information
JVickery-TBS committed May 14, 2024
1 parent 67a8704 commit 3508fce
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
{% ckan_extends %}

{%- block scripts -%}
{% if h.is_registry() %}
{% asset 'canada_internal/validation_spec' %}
{% endif %}
{{ super() }}
{%- endblock -%}

{% block pre_primary %}
{% if h.is_registry() %}
{% asset 'canada_internal/validation_spec' %}
{# load module to modify the goodtablesUI.spec #}
{# module required for i18n #}
<div data-module="canada-validation-spec"></div>
Expand Down

0 comments on commit 3508fce

Please sign in to comment.