mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
постмодернистское искусство
This commit is contained in:
parent
3a9c6766dd
commit
b2534c459c
1 changed files with 0 additions and 9 deletions
|
@ -26,15 +26,6 @@ function handleUpload(id) {
|
|||
console.warn("блять...");
|
||||
|
||||
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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue