WebUI: Use workaround for IOS file picker

PR #18837.
Fixes #18683.
This commit is contained in:
DivineHawk 2023-04-16 13:30:30 +02:00 committed by GitHub
parent 1e400df324
commit 0defb7d79d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -166,6 +166,10 @@
if (submitted) if (submitted)
window.parent.closeWindows(); window.parent.closeWindows();
}); });
if (Browser.platform === 'ios') {
$('fileselect').accept = ".torrent";
}
</script> </script>
<div id="upload_spinner" class="mochaSpinner"></div> <div id="upload_spinner" class="mochaSpinner"></div>
</body> </body>