mirror of
https://github.com/DictXiong/dxsync.git
synced 2024-11-24 04:41:30 +08:00
bug fix (Fri May 12 18:10:00 CST 2023)
This commit is contained in:
parent
66a1fdf2a9
commit
71cfa14596
|
@ -71,16 +71,16 @@
|
|||
|
||||
<script>
|
||||
$.get("index", function(data){
|
||||
list = data.split('\n')
|
||||
const list = data.split('\n')
|
||||
for (i in list) {
|
||||
name=list[i]
|
||||
const name=list[i]
|
||||
if (name.length == 0) {
|
||||
continue;
|
||||
}
|
||||
safe_name = name.replace(/\//g, "_");
|
||||
const safe_name = name.replace(/\//g, "_");
|
||||
$.get(safe_name + ".log", function (data) {
|
||||
var data = data.split("\n");
|
||||
line_header =
|
||||
const line_header =
|
||||
"<td><a href='../" + name + "'>" + name + "</a></td>";
|
||||
for (j in data) {
|
||||
if (data[j] != "") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user