diff --git a/_guides/javascript/config.js b/_guides/javascript/config.js index 430d85b7318..26107d70d9b 100644 --- a/_guides/javascript/config.js +++ b/_guides/javascript/config.js @@ -24,7 +24,7 @@ if(tables){ const decoration = td.firstElementChild.lastElementChild.firstElementChild; const iconDecoration = decoration.children.item(0); const collapsibleSpan = decoration.children.item(1); - const descDiv = td.firstElementChild.children.item(1); + const descDiv = td.firstElementChild.querySelector(".description"); const collapsibleHandler = makeCollapsibleHandler(descDiv, td, row, collapsibleSpan, iconDecoration); row.addEventListener('click', collapsibleHandler); }