mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
improvements in API docs generation
This commit is contained in:
@@ -39,7 +39,7 @@ function isArchived(noteId) {
|
||||
/**
|
||||
* @param {string} noteId
|
||||
* @param {string} ancestorNoteId
|
||||
* @return {boolean} - true if given noteId has ancestorNoteId in any of its paths (even archived)
|
||||
* @returns {boolean} - true if given noteId has ancestorNoteId in any of its paths (even archived)
|
||||
*/
|
||||
function isInAncestor(noteId, ancestorNoteId) {
|
||||
if (ancestorNoteId === 'root' || ancestorNoteId === noteId) {
|
||||
|
||||
Reference in New Issue
Block a user