1
0
Fork 0
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:
Taly 2022-07-20 20:18:07 +03:00
parent 6f6117df0c
commit 23be283421

View file

@ -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
*/