mirror of
https://github.com/RobinLinus/snapdrop.git
synced 2025-05-18 00:20:23 -07:00
iOS: More fallback tests
This commit is contained in:
parent
bc2956f5ad
commit
1afb83590b
@ -239,7 +239,7 @@ class ReceiveDialog extends Dialog {
|
|||||||
|
|
||||||
if (window.isDownloadSupported) return;
|
if (window.isDownloadSupported) return;
|
||||||
// fallback for iOS
|
// fallback for iOS
|
||||||
$a.href = null;
|
$a.href = '#';
|
||||||
let reader = new FileReader();
|
let reader = new FileReader();
|
||||||
reader.onload = e => {
|
reader.onload = e => {
|
||||||
$a.onclick = window.open(reader.result,'_blank');
|
$a.onclick = window.open(reader.result,'_blank');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user