mirror of
https://github.com/danbulant/console-hub
synced 2026-07-05 11:00:59 +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 = [];
|
var shown = [];
|
||||||
$("#files-list").empty();
|
$("#files-list").empty();
|
||||||
|
var up = document.createElement('li');
|
||||||
|
$("#files-list").append(up);
|
||||||
|
up.id = "file-up";
|
||||||
|
$("#file-up").html(' . .');
|
||||||
files.forEach((item, index) => {
|
files.forEach((item, index) => {
|
||||||
shown[index] = document.createElement('li');
|
shown[index] = document.createElement('li');
|
||||||
$("#files-list").append(shown[index]);
|
$("#files-list").append(shown[index]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue