bug fix (Fri May 12 18:10:00 CST 2023)

This commit is contained in:
Dict Xiong 2023-05-12 18:10:00 +08:00
parent 66a1fdf2a9
commit 71cfa14596

View File

@ -71,16 +71,16 @@
<script> <script>
$.get("index", function(data){ $.get("index", function(data){
list = data.split('\n') const list = data.split('\n')
for (i in list) { for (i in list) {
name=list[i] const name=list[i]
if (name.length == 0) { if (name.length == 0) {
continue; continue;
} }
safe_name = name.replace(/\//g, "_"); const safe_name = name.replace(/\//g, "_");
$.get(safe_name + ".log", function (data) { $.get(safe_name + ".log", function (data) {
var data = data.split("\n"); var data = data.split("\n");
line_header = const line_header =
"<td><a href='../" + name + "'>" + name + "</a></td>"; "<td><a href='../" + name + "'>" + name + "</a></td>";
for (j in data) { for (j in data) {
if (data[j] != "") { if (data[j] != "") {