Skip to content

Commit

Permalink
Internal: Remove text/javascript type attribute for JavaScript files …
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed Aug 11, 2020
1 parent 60d09f6 commit 671f348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/template/default/layout/head.tpl
Expand Up @@ -21,9 +21,9 @@
{{ extra_headers }}

{% if _s.language_interface %}
<script type="text/javascript" src="{{ _p.web }}web/build/main.{{ _s.language_interface }}.js"></script>
<script src="{{ _p.web }}web/build/main.{{ _s.language_interface }}.js"></script>
{% else %}{# language_interface *should* always be defined, so we should never come here #}
<script type="text/javascript" src="{{ _p.web }}web/build/main.js"></script>
<script src="{{ _p.web }}web/build/main.js"></script>
{% endif %}

{{ css_custom_file_to_string }}
Expand Down

0 comments on commit 671f348

Please sign in to comment.