Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
autobook should not be active on the mobile interface
zadam0f25c8a95f38
diff --git a/src/public/javascripts/services/tab_context.js b/src/public/javascripts/services/tab_context.jsindex 74c885c17d..67c2e21b5e 100644--- a/src/public/javascripts/services/tab_context.js+++ b/src/public/javascripts/services/tab_context.js@@ -303,7 +303,11 @@ class TabContext {let type = this.note.type;- if (type === 'text' && !disableAutoBook && utils.isHtmlEmpty(this.note.content) && this.note.hasChildren()) {+ if (type === 'text'+ && !disableAutoBook+ && utils.isHtmlEmpty(this.note.content)+ && this.note.hasChildren()+ && utils.isDesktop()) {type = 'book';}