summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/fg/js/source.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/source.js b/ext/fg/js/source.js
index d8b1977b..af2119e8 100644
--- a/ext/fg/js/source.js
+++ b/ext/fg/js/source.js
@@ -234,7 +234,7 @@ class TextSourceRange {
if (next !== null) { break; }
next = node.parentNode;
- if (node === null) { break; }
+ if (next === null) { break; }
node = next;
}