mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
change in referencing CSS resources to allow easier relative linking
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user