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