Skip to content

Commit e620b90

Browse files
authored
Merge pull request quarto-dev#3173 from quarto-dev/bugfix/3172
Properly set id attribute to ensure re-use
2 parents 7694fae + 94806e8 commit e620b90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/resources/projects/website/navigation/quarto-nav.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ window.document.addEventListener("DOMContentLoaded", function () {
8888
let linkStyle = window.document.querySelector("#quarto-target-style");
8989
if (!linkStyle) {
9090
linkStyle = window.document.createElement("style");
91+
linkStyle.setAttribute("id", "quarto-target-style");
9192
window.document.head.appendChild(linkStyle);
9293
}
9394
while (linkStyle.firstChild) {

0 commit comments

Comments
 (0)