mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 22:45:23 +02:00
Update table-of-content.js
This commit is contained in:
parent
3f413addfc
commit
eb5bdeca54
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ export default class TableOfContent {
|
|||
/**
|
||||
* Calculate scroll position
|
||||
*/
|
||||
let lastKnownScrollPosition = this.getScrollPadding() + window.scrollY;
|
||||
let lastKnownScrollPosition = this.getScrollPadding() + window.scrollY + 1;
|
||||
|
||||
/**
|
||||
* Call section detecting function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue