fix pasting images in /submit/marseys

master
Aevann1 2022-09-10 02:14:09 +02:00
parent 36a4c7d7f4
commit 113791ca69
1 changed files with 0 additions and 1 deletions

View File

@ -95,7 +95,6 @@
f=document.getElementById('file-upload');
f.files = files;
document.getElementById('filename-show').textContent = filename;
document.getElementById('urlblock').classList.add('d-none');
if (filename.endsWith(".jpg") || filename.endsWith(".jpeg") || filename.endsWith(".png") || filename.endsWith(".gif") || filename.endsWith(".webp"))
{
var fileReader = new FileReader();