fix redirect after login

This commit is contained in:
zadam
2019-05-22 21:25:13 +02:00
parent 79956b5676
commit dedc1e708f
3 changed files with 6 additions and 5 deletions

View File

@@ -47,6 +47,7 @@ async function showTree() {
minExpandLevel: 2, // root can't be collapsed
click: (event, data) => {
if (data.targetType !== 'expander' && data.node.isActive()) {
// this is important for single column mobile view, otherwise it's not possible to see again previously displayed note
$tree.fancytree('getTree').reactivate(true);
return false;