Tree expansion handled better
This commit is contained in:
parent
bea865dd82
commit
a3864d2b55
6 changed files with 143 additions and 90 deletions
|
|
@ -1,14 +1,6 @@
|
|||
{{ define "page" }}
|
||||
<script>
|
||||
function showTree() {
|
||||
const notes2 = document.getElementById('notes2')
|
||||
notes2.classList.remove('hide-tree')
|
||||
notes2.classList.add('show-tree')
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id="notes2">
|
||||
<div id="show-tree" onclick="showTree()">></div>
|
||||
<div id="tree-expander" onclick="window._mbus.dispatch('TREE_EXPANSION', { expand: true })">></div>
|
||||
<div id="tree" tabindex=0></div>
|
||||
|
||||
<div id="main-page">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue