mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
focus autocomplete on new tab even if there are workspaces, fixes #3083
This commit is contained in:
parent
80dcb45415
commit
09cfaeb9c4
@ -83,10 +83,8 @@ export default class EmptyTypeWidget extends TypeWidget {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (workspaceNotes.length === 0) {
|
|
||||||
this.$autoComplete
|
this.$autoComplete
|
||||||
.trigger('focus')
|
.trigger('focus')
|
||||||
.trigger('select');
|
.trigger('select');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user