Switch File Open Dialog from MIME to File Extension

This commit is contained in:
Leo Herzog
2020-12-04 13:03:22 -05:00
parent 6863553b66
commit ffb1e250e4

View File

@@ -69,7 +69,7 @@
Enter URL and press enter
</label>
<input id="torrent" type="file" accept="application/x-bittorrent" aria-label="Select Torrent file" />
<input id="torrent" type="file" accept=".torrent" aria-label="Select Torrent file" />
<label for="torrent">
<span class="fas fa-cloud-upload" aria-hidden="true"></span> Select Torrent File
</label>