fix this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/3212638#context
parent
0a62843d89
commit
c018abf9b4
|
@ -334,7 +334,9 @@ function handle_files() {
|
|||
input.onchange = handle_files
|
||||
|
||||
document.onpaste = function(event) {
|
||||
input.files = structuredClone(event.clipboardData.files);
|
||||
files = structuredClone(event.clipboardData.files);
|
||||
if (!files.length) return
|
||||
input.files = files
|
||||
handle_files()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue