aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/follow.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content/follow.js b/src/content/follow.js
index 7d69b45..eedd1ed 100644
--- a/src/content/follow.js
+++ b/src/content/follow.js
@@ -142,6 +142,7 @@ export default class Follow {
return style.display !== 'none' &&
style.visibility !== 'hidden' &&
element.type !== 'hidden' &&
+ element.offsetHeight > 0 &&
Follow.inWindow(window, element);
});
return filtered;