This commit is contained in:
Joe Ma 2022-09-28 16:10:41 +08:00
parent ef9b6e7334
commit 5404d3055b
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F

View file

@ -89,7 +89,7 @@
for (let i = 0, approx = bytes / 1024; approx > 1; approx /= 1024, i++) {
size = approx.toFixed(3) + ' ' + units[i];
}
status.textContent = `${this.files[0]?.type ?? 'application/application/octet-stream'}, ${size}`;
status.textContent = `${this.files[0]?.type || 'application/octet-stream'}, ${size}`;
}
function toggle_password() {