Walls: Close post attachment context menu after attachment

This commit is contained in:
Maxim Leshchenko 2022-01-09 23:02:19 +02:00
parent c5a0347f56
commit 8e94a0caf0
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE

View file

@ -35,6 +35,8 @@ function handleUpload(id) {
u("span", indicator.nodes[0]).text(trim(file.name) + " (" + humanFileSize(file.size, false) + ")"); u("span", indicator.nodes[0]).text(trim(file.name) + " (" + humanFileSize(file.size, false) + ")");
indicator.attr("style", "display: block;"); indicator.attr("style", "display: block;");
} }
document.querySelector("#post-buttons" + id + " #wallAttachmentMenu").classList.add("hidden");
} }
function initGraffiti(id) { function initGraffiti(id) {