постмодернистское искусство

This commit is contained in:
celestora 2022-12-11 18:08:25 +02:00
parent 3a9c6766dd
commit b2534c459c

View file

@ -26,15 +26,6 @@ function handleUpload(id) {
console.warn("блять..."); console.warn("блять...");
u("#post-buttons" + id + " .postFileSel").not("#" + this.id).each(input => input.value = null); u("#post-buttons" + id + " .postFileSel").not("#" + this.id).each(input => input.value = null);
var indicator = u("#post-buttons" + id + " .post-upload");
var file = this.files[0];
if(typeof file === "undefined") {
indicator.attr("style", "display: none;");
} else {
u("span", indicator.nodes[0]).text(trim(file.name) + " (" + humanFileSize(file.size, false) + ")");
indicator.attr("style", "display: block;");
}
document.querySelector("#post-buttons" + id + " #wallAttachmentMenu").classList.add("hidden"); document.querySelector("#post-buttons" + id + " #wallAttachmentMenu").classList.add("hidden");
} }