fix prev commit

master
Aevann 2024-11-13 03:11:33 +02:00
parent 523f9a7149
commit 2320211082
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ function handle_files() {
input.previousElementSibling.className = "";
input.previousElementSibling.textContent = input.files[0].name.substr(0, char_limit);
const image_preview = image_preview
const image_preview = document.getElementById('image-preview')
if (input.files[0].type.startsWith('image/')) {
const fileReader = new FileReader();