From cf905c79a2b729d1d8962bbfc3892037d8deb0ae Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sat, 8 Feb 2020 15:26:30 -0500 Subject: [PATCH] commentTable needs to be an element, not a nodelist --- .../resources/bubble/rule/social/block/site/HackerNews.js.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bubble-server/src/main/resources/bubble/rule/social/block/site/HackerNews.js.hbs b/bubble-server/src/main/resources/bubble/rule/social/block/site/HackerNews.js.hbs index 6a48bbc5..2a46c137 100644 --- a/bubble-server/src/main/resources/bubble/rule/social/block/site/HackerNews.js.hbs +++ b/bubble-server/src/main/resources/bubble/rule/social/block/site/HackerNews.js.hbs @@ -6,6 +6,8 @@ function {{JS_PREFIX}}_apply_blocks(blocked_users) { if (commentTable === null) { console.warn('commentTable not found and hnmain table not found, not filtering'); return; + } else { + commentTable = commentTable[0]; } } const comments = commentTable.querySelectorAll('tr');