From b2534c459c69c600956fd06ceee45f59327cdf09 Mon Sep 17 00:00:00 2001 From: celestora Date: Sun, 11 Dec 2022 18:08:25 +0200 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=81=D1=82=D0=BC=D0=BE=D0=B4?= =?UTF-8?q?=D0=B5=D1=80=D0=BD=D0=B8=D1=81=D1=82=D1=81=D0=BA=D0=BE=D0=B5=20?= =?UTF-8?q?=D0=B8=D1=81=D0=BA=D1=83=D1=81=D1=81=D1=82=D0=B2=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/static/js/al_wall.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index 432b3e98..6a9ad971 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -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"); }