forked from rDrama/rDrama
1
0
Fork 0

remove unnecessary shit

master
Aevann 2023-09-05 22:37:42 +03:00
parent c7d394ff8c
commit 3623d8b265
1 changed files with 0 additions and 7 deletions

View File

@ -351,16 +351,9 @@ document.addEventListener('click', function (e) {
const input = document.getElementById('file')
function handle_files() {
if (!input.files.length) return
input.previousElementSibling.textContent = input.files[0].name.substr(0, 50);
}
input.onchange = handle_files
document.onpaste = function(event) {
input.files = structuredClone(event.clipboardData.files);
handle_files()
}
box.scrollTo(0, box.scrollHeight)