Fix incorrect check
This commit is contained in:
parent
928d7aecd5
commit
a5f393fa2c
@ -234,7 +234,7 @@ class TextSourceRange {
|
|||||||
if (next !== null) { break; }
|
if (next !== null) { break; }
|
||||||
|
|
||||||
next = node.parentNode;
|
next = node.parentNode;
|
||||||
if (node === null) { break; }
|
if (next === null) { break; }
|
||||||
|
|
||||||
node = next;
|
node = next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user