Skip to content

Commit 5a56bff

Browse files
committed
Fix js error when attempting to uncollapse sidebars
1 parent 5207585 commit 5a56bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/formats/html/quarto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
378378
const convertToSidebar = () => {
379379
for (const child of el.children) {
380380
child.style.opacity = 1;
381-
clone.style.display = null;
381+
child.style.display = null;
382382
}
383383

384384
const placeholderEl = window.document.getElementById(

0 commit comments

Comments
 (0)