mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-04-14 00:27:33 +02:00
Fix for jQuery on login/logout page
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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' }) %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user