inverted link and size

This commit is contained in:
dcore94 2024-12-02 14:58:28 +01:00
parent 7e9558f1bf
commit 91e6386178
1 changed files with 1 additions and 1 deletions

View File

@ -1003,7 +1003,7 @@ class CCPExecutionHistory extends HTMLElement {
var i = s === 0 ? 0 : Math.floor(Math.log(s) / Math.log(1024));
size = `[${+((s / Math.pow(1024, i)).toFixed(2)) * 1 + ' ' + ['B', 'kB', 'MB', 'GB', 'TB'][i]}]`
}
e.innerHTML = `<small class="text-muted">${size} </small><a href="${d.href}" onclick="event.preventDefault()">${d.path}</a>`
e.innerHTML = `<a href="${d.href}" onclick="event.preventDefault()">${d.path}</a><small class="text-muted">${size} </small>`
}
}
]