mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature(cloudcmd) add ability to open html files using F3
This commit is contained in:
parent
cd7bf0fe01
commit
57485b5b4b
4 changed files with 53 additions and 6 deletions
|
|
@ -259,7 +259,7 @@ function getSize(file) {
|
|||
type,
|
||||
} = file;
|
||||
|
||||
if (/^directory$/.test(type))
|
||||
if (type === 'directory')
|
||||
return '<dir>';
|
||||
|
||||
if (/link/.test(type))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue