diff options
Diffstat (limited to 'modules/luci-base/ucode/template/header.ut')
-rw-r--r-- | modules/luci-base/ucode/template/header.ut | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/luci-base/ucode/template/header.ut b/modules/luci-base/ucode/template/header.ut index 7dc3742a9d..81cb411dda 100644 --- a/modules/luci-base/ucode/template/header.ut +++ b/modules/luci-base/ucode/template/header.ut @@ -7,9 +7,9 @@ include(`themes/${theme}/header`); -%} -<script type="text/javascript" src="{{ resource }}/promis.min.js"></script> -<script type="text/javascript" src="{{ resource }}/luci.js"></script> -<script type="text/javascript"> +<script src="{{ resource }}/promis.min.js"></script> +<script src="{{ resource }}/luci.js"></script> +<script> L = new LuCI({{ replace(`${ { media : media, resource : resource, |