mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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,
|
parent = node,
|
||||||
ordered = 'OL' == node.tagName,
|
ordered = 'OL' == node.tagName,
|
||||||
i = 0;
|
i = 0;
|
||||||
while ((parent = parent?.parentNode?.closest('ol,ul'))) {
|
while ((parent = parent?.parentNode?.closest?.('ol,ul'))) {
|
||||||
prefix = ' ' + prefix;
|
prefix = ' ' + prefix;
|
||||||
}
|
}
|
||||||
node.querySelectorAll(':scope > li').forEach(li => {
|
node.querySelectorAll(':scope > li').forEach(li => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue