diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-19 22:44:42 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-19 22:44:42 +0900 |
commit | c5aaaa948f434a10a68b18b2be75c2283674c93b (patch) | |
tree | a2ab88d8d7792b595a5c3541e5122980e86390c4 /src/content/follow.js | |
parent | 2c079b0e011e343f120ae502a37aebdc4f80b534 (diff) | |
parent | 7c943eb675eba4790b33378f0e5ec1ffcff623c4 (diff) |
Merge branch 'improve-follow'
Diffstat (limited to 'src/content/follow.js')
-rw-r--r-- | src/content/follow.js | 1 |
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; |