mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
Update table-of-content.js
This commit is contained in:
parent
6f6117df0c
commit
23be283421
1 changed files with 0 additions and 7 deletions
|
@ -277,13 +277,6 @@ export default class TableOfContent {
|
|||
*/
|
||||
const htmlElement = document.documentElement;
|
||||
|
||||
/**
|
||||
* If element is not found then return 0
|
||||
*/
|
||||
if (!htmlElement) {
|
||||
return defaultScrollPaddingValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getting css scroll padding value
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue