diff --git a/client/dom/index.js b/client/dom/index.js index d2553c1a..1869b6cb 100644 --- a/client/dom/index.js +++ b/client/dom/index.js @@ -522,6 +522,10 @@ function CmdProto() { this.toggleSelectedFile = (currentFile) => { const current = currentFile || DOM.getCurrentFile(); + const name = DOM.getCurrentName(current); + + if (name === '..') + return Cmd; current.classList.toggle(SELECTED_FILE);