|
|
|
|
@ -10,7 +10,8 @@ function addContents(node, json) {
|
|
|
|
|
let a = document.createElement('a'); |
|
|
|
|
a.href = window.location; |
|
|
|
|
a.dataset.base_name = json.base_name; |
|
|
|
|
a.dataset.file_extension = json.file_extension; a.dataset.is_dir = json.is_dir; |
|
|
|
|
a.dataset.file_extension = json.file_extension; |
|
|
|
|
a.dataset.is_dir = json.is_dir; |
|
|
|
|
a.dataset.rel_path = json.rel_path; |
|
|
|
|
|
|
|
|
|
if (json.is_dir) |
|
|
|
|
|