Merge pull request #30 from drfloyd5/bugfix/issue-25-does-not-hide-file-iconr-on-macs
Issue-25 Handle Carriage Returns in Filenames.
This commit is contained in:
commit
34bdf0b4bf
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
export function changePathVisibility(path: string, hide: boolean) {
|
||||
let n = document.querySelector(`[data-path="${path}"]`);
|
||||
let escapedPath = CSS.escape(path);
|
||||
let n = document.querySelector(`[data-path="${escapedPath}"]`);
|
||||
if (!n) {
|
||||
return;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue