forked from platypush/platypush
[Docs] A more robust interceptor for the grid rendering.
This commit is contained in:
parent
d6d9d7a8e7
commit
983bcc240a
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ const generateComponentsGrid = () => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.pathname.endsWith('/index.html')) {
|
if (window.location.pathname === '/' || window.location.pathname.endsWith('/index.html')) {
|
||||||
if (tocWrappers.length < 2) {
|
if (tocWrappers.length < 2) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue