also capitalize dir entries
This commit is contained in:
parent
afb0ad038f
commit
fde3435698
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const buildFileTree = (parent, data, location) => {
|
|||
|
||||
if (item.is_dir) {
|
||||
// Directory
|
||||
li.textContent = item.name;
|
||||
li.textContent = capitalize(item.name);
|
||||
li.classList.add("collapsed");
|
||||
|
||||
// Toggle collapsing on click
|
||||
|
|
Loading…
Reference in a new issue