Basic cours support #44
1 changed files with 4 additions and 2 deletions
|
@ -160,6 +160,8 @@ window.addEventListener("load", () => {
|
|||
uncollapse(last_openeded);
|
||||
}
|
||||
|
||||
// Fix SVG images
|
||||
svgDarkTheme();
|
||||
// Fix SVG images in dark mode
|
||||
if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
|
||||
svgDarkTheme();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue