mirror of
https://github.com/danbulant/console-hub
synced 2026-05-19 04:18:45 +00:00
Add up directory
This commit is contained in:
parent
852ea3ad64
commit
10ed34483b
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ function refreshFiles(){
|
|||
}
|
||||
var shown = [];
|
||||
$("#files-list").empty();
|
||||
var up = document.createElement('li');
|
||||
$("#files-list").append(up);
|
||||
up.id = "file-up";
|
||||
$("#file-up").html(' . .');
|
||||
files.forEach((item, index) => {
|
||||
shown[index] = document.createElement('li');
|
||||
$("#files-list").append(shown[index]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue