aboutsummaryrefslogtreecommitdiff
path: root/src/content/follow.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-19 22:44:42 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-19 22:44:42 +0900
commitc5aaaa948f434a10a68b18b2be75c2283674c93b (patch)
treea2ab88d8d7792b595a5c3541e5122980e86390c4 /src/content/follow.js
parent2c079b0e011e343f120ae502a37aebdc4f80b534 (diff)
parent7c943eb675eba4790b33378f0e5ec1ffcff623c4 (diff)
Merge branch 'improve-follow'
Diffstat (limited to 'src/content/follow.js')
-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;