mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
mobile web fixes
This commit is contained in:
@@ -649,9 +649,8 @@ async function createNote(node, parentNoteId, target, extraOptions = {}) {
|
||||
if (!node.getChildren() && node.isFolder()) {
|
||||
await node.setExpanded();
|
||||
}
|
||||
else {
|
||||
node.addChildren(newNode);
|
||||
}
|
||||
|
||||
node.addChildren(newNode);
|
||||
|
||||
await node.getLastChild().setActive(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user