1
0
Fork 0
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:
Taly 2022-07-20 11:07:12 +03:00
parent 3f413addfc
commit eb5bdeca54

View file

@ -130,7 +130,7 @@ export default class TableOfContent {
/** /**
* Calculate scroll position * Calculate scroll position
*/ */
let lastKnownScrollPosition = this.getScrollPadding() + window.scrollY; let lastKnownScrollPosition = this.getScrollPadding() + window.scrollY + 1;
/** /**
* Call section detecting function * Call section detecting function