Skip to content

Commit 022b053

Browse files
committed
old-default-2024 theme doesn't use shadowRoot
1 parent e71785f commit 022b053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/old-default-2024/files/scripts/display-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class NumbasExamElement extends HTMLElement {
5757
link.rel = 'stylesheet';
5858
const src = `${data.root}/${css}`;
5959
link.href = src;
60-
this.shadowRoot.appendChild(link);
60+
document.head.appendChild(link);
6161
}
6262
}
6363
} catch(err) {

0 commit comments

Comments
 (0)