aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-27 23:37:10 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-28 11:28:15 -0400
commita5f393fa2c95476c5b2af5714b03a50b92a2e109 (patch)
tree1b68554b1bc1da925f072eb9c96afc31300390de /ext/fg/js
parent928d7aecd5018ed71f0409fdad95f7c1b2a768bb (diff)
Fix incorrect check
Diffstat (limited to 'ext/fg/js')
-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;
}