change in referencing CSS resources to allow easier relative linking

This commit is contained in:
zadam
2019-01-27 22:34:41 +01:00
parent f90ed99a40
commit ba1ca506af
3 changed files with 4 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ addTabHandler((function() {
if (noteId) {
// make sure the CSS is loaded
// if the CSS has been loaded and then updated then the changes won't take effect though
cssLoader.requireCss(`/api/notes/${noteId}/download`);
cssLoader.requireCss(`/api/notes/download/${noteId}`);
}
$body.addClass("theme-" + newTheme);