From a5f393fa2c95476c5b2af5714b03a50b92a2e109 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 27 Sep 2019 23:37:10 -0400 Subject: [PATCH] Fix incorrect check --- ext/fg/js/source.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }