mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
AudioContext undefined in Safari 13
Fix for https://github.com/the-djmaze/snappymail/issues/37
This commit is contained in:
parent
cd52d9ae6c
commit
b609c4b0c2
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ let notificator = null,
|
|||
player = null,
|
||||
canPlay = type => player && !!player.canPlayType(type).replace('no', ''),
|
||||
|
||||
audioCtx = AudioContext || window.webkitAudioContext,
|
||||
audioCtx = window.AudioContext || window.webkitAudioContext,
|
||||
|
||||
play = (url, name) => {
|
||||
if (player) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue