remove safari audio blop "hack" as it should not completely stop music that is playing in the background
This commit is contained in:
parent
eda60a3d78
commit
7b08973cef
2 changed files with 0 additions and 12 deletions
|
@ -1791,9 +1791,3 @@ Notifications permission has been blocked
|
|||
as the user has dismissed the permission prompt several times.
|
||||
This can be reset in Page Info
|
||||
which can be accessed by clicking the lock icon next to the URL.`;
|
||||
|
||||
document.body.onclick = _ => { // safari hack to fix audio
|
||||
document.body.onclick = null;
|
||||
if (!(/.*Version.*Safari.*/.test(navigator.userAgent))) return;
|
||||
blop.play();
|
||||
}
|
||||
|
|
|
@ -1792,9 +1792,3 @@ Notifications permission has been blocked
|
|||
as the user has dismissed the permission prompt several times.
|
||||
This can be reset in Page Info
|
||||
which can be accessed by clicking the lock icon next to the URL.`;
|
||||
|
||||
document.body.onclick = _ => { // safari hack to fix audio
|
||||
document.body.onclick = null;
|
||||
if (!(/.*Version.*Safari.*/.test(navigator.userAgent))) return;
|
||||
blop.play();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue