Skip to content

Commit

Permalink
Update theme-loader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed May 6, 2024
1 parent f4c470e commit 5aec29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/js/theme-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ document.addEventListener('DOMContentLoaded', () => {
}

head.insertAdjacentHTML(
'beforeend',
`<link id="prism-active-theme" rel="stylesheet" href="${baseUrl}/${themeCss}" />`)
'beforeend',
`<link id="prism-active-theme" rel="stylesheet" href="${baseUrl}/${themeCss}" />`)
}

if (window.getThemeManagerProperty && window.isSystemRespectingTheme) {
Expand Down

0 comments on commit 5aec29c

Please sign in to comment.