Skip to content

Commit

Permalink
Merge pull request #162 from janfaracik/remove-slash
Browse files Browse the repository at this point in the history
Fix theme loading
  • Loading branch information
uhafner authored May 8, 2024
2 parents 7840431 + d183c39 commit ccbaab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/js/theme-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ document.addEventListener('DOMContentLoaded', () => {

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

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

0 comments on commit ccbaab3

Please sign in to comment.