diff --git a/gui/default/syncthing/app.js b/gui/default/syncthing/app.js index 87e33dfc4..94b4a5f61 100644 --- a/gui/default/syncthing/app.js +++ b/gui/default/syncthing/app.js @@ -184,7 +184,7 @@ function buildTree(children) { keySoFar.push(part); var found = false; for (var i = 0; i < parent.children.length; i++) { - if (parent.children[i].title == part) { + if (parent.children[i].title == part && parent.children[i].folder === true) { parent = parent.children[i]; found = true; break;