1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

feat: Only show .torrent files in the web UI (#6320)

This commit is contained in:
Jake Leahy 2023-12-02 03:40:36 +11:00 committed by GitHub
parent e10689beea
commit c853ec3358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,7 @@ export class OpenDialog extends EventTarget {
input.name = 'torrent-files[]';
input.id = input_id;
input.multiple = 'multiple';
input.accept = '.torrent, application/x-bittorrent';
workarea.append(input);
elements.file_input = input;