js.tpl: fix comments

This commit is contained in:
Benjamin Renard 2020-06-04 16:21:12 +02:00
parent 6e9266b3c5
commit c221bbffdb

View file

@ -1,12 +1,12 @@
{if isset($defaultJSscripts) && is_array($defaultJSscripts) && !empty($defaultJSscripts)}
<!-- JS files -->
<!-- Default JS files -->
{foreach $defaultJSscripts as $file}
<script src="js/{$file}" type="text/javascript"></script>
{/foreach}
{/if}
{if isset($JSscripts) && is_array($JSscripts) && !empty($JSscripts)}
<!-- JS files -->
<!-- Additional JS files -->
{foreach $JSscripts as $file}
<script src="js/{$file}" type="text/javascript"></script>
{/foreach}