hide .dotfiles
This commit is contained in:
parent
41db9bf07d
commit
4cb6e91201
2 changed files with 15 additions and 7 deletions
|
|
@ -101,13 +101,15 @@ function extractDirectoryListing(doc) {
|
|||
});
|
||||
}
|
||||
} else {
|
||||
files.push({
|
||||
name: name,
|
||||
lastModified: lastModified,
|
||||
size: size,
|
||||
type: type,
|
||||
href: href
|
||||
});
|
||||
if (!name.startsWith('.')) {
|
||||
files.push({
|
||||
name: name,
|
||||
lastModified: lastModified,
|
||||
size: size,
|
||||
type: type,
|
||||
href: href
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue