Skip to content
Snippets Groups Projects
Commit ed3c77f5 authored by Olivier Goulet's avatar Olivier Goulet
Browse files

Stop brief page table of contents throwing error on other pages

parent f2bd5934
No related branches found
No related tags found
1 merge request!53Stop brief page table of contents throwing error on other pages
...@@ -53,6 +53,8 @@ const isMobile = () => { ...@@ -53,6 +53,8 @@ const isMobile = () => {
(async function EclipseFdnRolloverLink() { (async function EclipseFdnRolloverLink() {
const elements = document.querySelectorAll('.eclipsefdn-rollover-link'); const elements = document.querySelectorAll('.eclipsefdn-rollover-link');
if (elements.length === 0) return;
elements.forEach(element => { elements.forEach(element => {
const options = { const options = {
hashId: element.dataset.hashId hashId: element.dataset.hashId
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment