Commit e11ca898 authored by Janne Koschinski's avatar Janne Koschinski

Fix upload page

Signed-off-by: Janne Koschinski's avatarJanne Koschinski <janne@kuschku.de>
parent 932ccee9
......@@ -12,8 +12,8 @@ function postData(url, data) {
const page = document.querySelector(".page.upload");
const form = document.querySelector("form.upload");
const element = document.querySelector("form.upload input[type=file]");
const results = document.querySelector(".uploading.images");
const sidebar = document.querySelector(".uploading.images .sidebar");
const results = document.querySelector(".uploading .images");
const sidebar = document.querySelector(".uploading .sidebar");
element.addEventListener("change", () => {
page.classList.add("submitted");
for (let file of element.files) {
......
.page.image.detail, .page.upload .uploading.images
.page.image.detail, .page.upload .uploading
display: flex
flex-direction: row
align-items: start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment