mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix scope of "remove button" on collection
This commit is contained in:
parent
f6f1b504bd
commit
a6496884e1
@ -103,7 +103,7 @@ window.addEventListener('load', function() {
|
||||
}
|
||||
|
||||
for (let i = 0; i < collections.length; i ++) {
|
||||
let entries = collections[i].querySelectorAll('li');
|
||||
let entries = collections[i].querySelectorAll(':scope > li');
|
||||
|
||||
for (let j = 0; j < entries.length; j ++) {
|
||||
initializeRemove(collections[i], entries[j]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user