mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +08:00
Resolve #546
This commit is contained in:
parent
036bac7914
commit
8ae5563a84
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ export const
|
|||
parent = node,
|
||||
ordered = 'OL' == node.tagName,
|
||||
i = 0;
|
||||
while ((parent = parent?.parentNode?.closest('ol,ul'))) {
|
||||
while ((parent = parent?.parentNode?.closest?.('ol,ul'))) {
|
||||
prefix = ' ' + prefix;
|
||||
}
|
||||
node.querySelectorAll(':scope > li').forEach(li => {
|
||||
|
|
Loading…
Reference in a new issue