mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
update eslint config & fix lint
This commit is contained in:
@@ -242,7 +242,7 @@ export default class NoteRevisionsDialog extends BasicWidget {
|
||||
if (this.$content.find('span.math-tex').length > 0) {
|
||||
await libraryLoader.requireLibrary(libraryLoader.KATEX);
|
||||
|
||||
renderMathInElement($content[0], {trust: true});
|
||||
renderMathInElement(this.$content[0], {trust: true});
|
||||
}
|
||||
} else if (revisionItem.type === 'code' || revisionItem.type === 'mermaid') {
|
||||
this.$content.html($("<pre>").text(fullNoteRevision.content));
|
||||
|
||||
Reference in New Issue
Block a user