remove unproven edit
This commit is contained in:
parent
13cb4fecbb
commit
5345331637
@ -150,8 +150,6 @@ class SimpleAudioPlayer {
|
|||||||
// Create a “real” link to that URL and click it
|
// Create a “real” link to that URL and click it
|
||||||
const a = document.createElement('a');
|
const a = document.createElement('a');
|
||||||
a.href = downloadUrl.toString();
|
a.href = downloadUrl.toString();
|
||||||
a.download = ''; // tell Safari “this is a download”
|
|
||||||
a.target = '_blank'; // force a real navigation on iOS
|
|
||||||
// NOTE: do NOT set a.download here – we want the server's Content-Disposition to drive it
|
// NOTE: do NOT set a.download here – we want the server's Content-Disposition to drive it
|
||||||
document.body.appendChild(a);
|
document.body.appendChild(a);
|
||||||
a.click();
|
a.click();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user