We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a00387 commit b6cf645Copy full SHA for b6cf645
1 file changed
reddit.com/index.js
@@ -59,7 +59,7 @@ onBrowse(() => {
59
60
until(() => {
61
const tree = document.querySelector("shreddit-comment-tree");
62
- if (tree.scrollHeight > 0) {
+ if (tree && tree.scrollHeight > 0) {
63
return tree;
64
}
65
}, run_it);
0 commit comments