mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
autobook should not be active on the mobile interface
This commit is contained in:
parent
1a49894adf
commit
0f25c8a95f
@ -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';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user