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

Merge branch 'oliviergoulet/main/972' into 'main'

Stop brief page table of contents throwing error on other pages

See merge request !53
parents f2bd5934 ed3c77f5
No related branches found
No related tags found
No related merge requests found
...@@ -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