Skip to content

Commit 82c5f33

Browse files
committed
Fix footer js
1 parent c8fa80a commit 82c5f33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/assets/javascript/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ document.addEventListener("DOMContentLoaded", () => {
8585
}
8686

8787
if (item.pied && $pied) {
88-
el.className = "bd-ami bd-ami-footer";
89-
$pied.appendChild(el);
88+
const clone = el.cloneNode(true);
89+
clone.className = "bd-ami bd-ami-footer";
90+
$pied.appendChild(clone);
9091
}
9192
});
9293
});

0 commit comments

Comments
 (0)