From 84ad6e3c5b2f74b82d17b289db62cdf88f18a95b Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 8 Jun 2025 02:36:28 +0400 Subject: feat: file title --- public/index.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 5640e9d..7c23b88 100644 --- a/public/index.php +++ b/public/index.php @@ -287,7 +287,14 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt'); - +
+ + + + @@ -356,7 +363,7 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt'); const textArea = document.querySelector('#form-text-upload>textarea'); textArea.addEventListener('keyup', () => { - setFormDetailsVisiblity(fileURL.value.length > 0); + setFormDetailsVisiblity(textArea.value.length > 0); }); const formSubmitButton = document.querySelector('#form-upload button[type=submit]'); -- cgit v1.2.3
Title: + +
Preserve original filename: