TagSpaces is an offline, open source, document manager with tagging support
fixing issue with opening of directories
Iliance96af149566
diff --git a/data/ext/perspectiveGraph/mindmap.js b/data/ext/perspectiveGraph/mindmap.jsindex 37aa11dd8..b884d3424 100644--- a/data/ext/perspectiveGraph/mindmap.js+++ b/data/ext/perspectiveGraph/mindmap.js@@ -38,7 +38,7 @@ define(function(require, exports, module) {d.children.forEach(toggleAll);toggle(d);}- }+ };// Initialize the display to show a few nodes.root.children.forEach(toggleAll);@@ -133,13 +133,13 @@ define(function(require, exports, module) {d.x0 = d.x;d.y0 = d.y;});- }+ };// Toggle children.function toggle(d) {- if(d.children == undefined || d.children == null || d.children.length < 1) {+ if(d.children == undefined || d.children == null) { // || d.children.length < 1TSCORE.FileOpener.openFile(d.path);- }+ }if (d.children) {d._children = d.children;d.children = null;@@ -147,9 +147,8 @@ define(function(require, exports, module) {d.children = d._children;d._children = null;}- }-- }+ };+ };// Methodsexports.drawMindMap = drawMindMap;