mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
collapsible.js: Fix invalid default selectors
refs #4884 (cherry picked from commit 9b3e6165ead294c6b5ee863f1b6096ded1fe3dec)
This commit is contained in:
parent
817380470a
commit
7e7b592af7
@ -298,9 +298,9 @@
|
||||
}
|
||||
|
||||
if (collapsible.tagName === 'TABLE') {
|
||||
return '> tbody > tr';
|
||||
return ':scope > tbody > tr';
|
||||
} else if (collapsible.tagName === 'UL' || collapsible.tagName === 'OL') {
|
||||
return '> li:not(.collapsible-control)';
|
||||
return ':scope > li:not(.collapsible-control)';
|
||||
}
|
||||
|
||||
return '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user