Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
🐛 (fsDisp): Fix #710 SyntaxError on clicking files in fsDisp
Browse files Browse the repository at this point in the history
  • Loading branch information
GitSquared committed Mar 23, 2020
1 parent c0e7451 commit a517ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/filesystem.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ class FilesystemDisplay {
cmd = `window.term[window.currentTerm].writelr("cd \\"${e.path.replace(/\\/g, '')}\\"")`;
}
} else {
cmd = `window.term[window.currentTerm].write("\\""+fsDisp.cwd[${blockIndex}].path+"\\"")}`;
cmd = `window.term[window.currentTerm].write("\\""+fsDisp.cwd[${blockIndex}].path+"\\"")`;
}
} else {
if (e.type === "dir" || e.type.endsWith("Dir")) {
Expand Down

0 comments on commit a517ab2

Please sign in to comment.