Fixed showing node

This commit is contained in:
Magnus Åhall 2026-06-08 21:43:52 +02:00
parent 92287e2076
commit cdccbc9306
2 changed files with 1 additions and 4 deletions

View file

@ -23,9 +23,6 @@ export class App {
// after it is rendered when the site is shown without UUID in the URL.
const startNode = await this.getStartNode()
document.getElementById('tree').append(await this.sidebar.render())
document.getElementById('tree-nodes')?.focus()
if (startNode.UUID == ROOT_NODE)
this.goToNode(startNode.UUID, false, false)
else