Merge branch 'master' of https://github.com/liyasthomas/postwoman
This commit is contained in:
commit
3b2fd26bd9
1 changed files with 1 additions and 0 deletions
|
|
@ -259,6 +259,7 @@
|
|||
let section = document.querySelector(link.hash);
|
||||
|
||||
if (
|
||||
section &&
|
||||
section.offsetTop <= fromTop &&
|
||||
section.offsetTop + section.offsetHeight > fromTop
|
||||
) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue