diff --git a/src/renderer/app.js b/src/renderer/app.js index 87f9b41..a6039ad 100644 --- a/src/renderer/app.js +++ b/src/renderer/app.js @@ -1064,7 +1064,7 @@ class FilePane { const files = await this.list(dir); this.cwd = dir; this.files = files; this.sel.clear(); $('.path', this.el).value = dir; - const roots = $('.roots', this.el); if (roots) roots.value = dir.slice(0, 2).toUpperCase() + '\'; + const roots = $('.roots', this.el); if (roots) roots.value = dir.slice(0, 2).toUpperCase() + '\\'; this.draw(); } catch (e) { toast(e.message, 'error'); } }