new "disable_inclusion" attribute

This commit is contained in:
azivner
2018-03-04 22:09:51 -05:00
parent 5c91e38dfe
commit 1c6fc9029f
4 changed files with 14 additions and 2 deletions

View File

@@ -61,6 +61,10 @@ async function getScriptBundle(note, includedNoteIds = []) {
return;
}
if (await note.hasAttribute('disable_inclusion')) {
return;
}
const bundle = {
note: note,
script: '',