Fix for jQuery on login/logout page

This commit is contained in:
Andy Miller
2016-06-02 12:44:02 -06:00
parent 77e2e65c60
commit da15d6664f
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
* Fixed "Data type `System` doesn't exist!" error when activating a theme [#635](https://github.com/getgrav/grav-plugin-admin/issues/635)
* Fixed issue with custom media types not deleting on save [#633](https://github.com/getgrav/grav-plugin-admin/issues/633)
* Fixed issue when saving `List` field type in plugins + pages
* Fixed JS error on login/logout page due to jQuery not being loaded
# v1.1.0-rc.1

View File

@@ -1,5 +1,5 @@
{% if authorize(['admin.login', 'admin.super']) %}
{% do assets.add('jquery',101) %}
{% if authorize(['admin.login', 'admin.super']) %}
{% do assets.addJs(theme_url~'/js/vendor.min.js', { 'loading':'defer' }) %}
{% do assets.addJs(theme_url~'/js/admin.min.js' , { 'loading':'defer' }) %}