Skip to content

Commit

Permalink
Fix collapsing when there are several keys
Browse files Browse the repository at this point in the history
(cherry picked from commit 7d76d6d)
  • Loading branch information
gsmet committed Jun 4, 2024
1 parent 5f66d57 commit c1f23b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/javascript/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c1f23b5

Please sign in to comment.