1
0
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:
RobinLinus 2018-10-11 00:32:46 +02:00
parent bc2956f5ad
commit 1afb83590b

View File

@ -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');