mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-13 01:11:52 +02:00
Fixed Safari issue with new ACL picker field (fixes #1955)
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# v1.10.0-rc.18
|
||||
## mm/dd/2020
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fixed Safari issue with new ACL picker field [#1955](https://github.com/getgrav/grav-plugin-admin/issues/1955)
|
||||
|
||||
# v1.10.0-rc.17
|
||||
## 10/02/2020
|
||||
## 10/07/2020
|
||||
|
||||
1. [](#new)
|
||||
* Support premium themes
|
||||
|
||||
@@ -65,7 +65,7 @@ body.on('click', '[data-acl_picker] .add-item', (event) => {
|
||||
const ID = wrapper.data('acl_picker_id');
|
||||
const template = document.querySelector(`template[data-id="acl_picker-${ID}"]`);
|
||||
|
||||
const clone = $(template.content.querySelector(':first-child')).clone();
|
||||
const clone = $(template.content.firstElementChild).clone();
|
||||
clone.insertAfter(item);
|
||||
|
||||
// randomize ids
|
||||
|
||||
2
themes/grav/js/admin.min.js
vendored
2
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user