mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-04 20:10:14 -06:00
disable inclusion should work only on non-root notes
This commit is contained in:
@@ -73,7 +73,7 @@ async function getScriptBundle(note, root = true, scriptEnv = null, includedNote
|
||||
return;
|
||||
}
|
||||
|
||||
if (await note.hasAttribute('disable_inclusion')) {
|
||||
if (!root && await note.hasAttribute('disable_inclusion')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user